How to run PowerShell script from CMD
You will find below example how to run PowerShell script from CMD or in windows schedule task
1
C:\>powershell ``"& 'c:\scripts\Active Directory\CreateNewUser.ps1'"
Bu tarayıcı artık desteklenmiyor.
En son özelliklerden, güvenlik güncelleştirmelerinden ve teknik destekten faydalanmak için Microsoft Edge’e yükseltin.
You will find below example how to run PowerShell script from CMD or in windows schedule task
1
C:\>powershell ``"& 'c:\scripts\Active Directory\CreateNewUser.ps1'"