在蝙蝠批处理中调用Powershell脚本

  
 <代码> # #如何在蝙蝠中调用powershell,把下面代码另存为蝙蝠格式
  pushd % ~ dp0
  powershell。exe - command ^
  ”,{set-executionpolicy Remotesigned范围过程;\ ClearIISLogFiles”。ps1}”
  popd
  暂停 
  

可访问下面的链接,获取更多的它资讯:
在蝙蝠批处理中调用Powershell脚本

在蝙蝠批处理中调用Powershell脚本