##如何在BAT中调用powershell,把下面代码另存为bat格式
pushd %~dp0
powershell.exe -command ^
  "& {set-executionpolicy Remotesigned -Scope Process; .'.\ClearIISLogFiles.ps1' }"
popd
pause

05-06 17:02