Calling a PowerShell script from within a Windows Batch script
May 26, 2018
batch powershell windowsHow do you call a PowerShell script from within a batch script? The following example shows the syntax -
powershell -ExecutionPolicy ByPass -File my_powershell_srcript.ps1