程序或脚本 powershell 位置
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
添加参数 ps文件目录
-windowstyle hidden -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Unrestricted -File "E:\copy.ps1"
程序或脚本 powershell 位置
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
添加参数 ps文件目录
-windowstyle hidden -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Unrestricted -File "E:\copy.ps1"