##如何在BAT中調用powershell,把下面代碼另存爲bat格式
pushd %~dp0
powershell.exe -command ^
"& {set-executionpolicy Remotesigned -Scope Process; .'.\ClearIISLogFiles.ps1' }"
popd
pause
可訪問下面的鏈接,獲取更多的IT資訊:
##如何在BAT中調用powershell,把下面代碼另存爲bat格式
pushd %~dp0
powershell.exe -command ^
"& {set-executionpolicy Remotesigned -Scope Process; .'.\ClearIISLogFiles.ps1' }"
popd
pause
可訪問下面的鏈接,獲取更多的IT資訊: