我想在启动时运行PowerShell脚本,但对话框中没有“powershell”选项卡。
我正在运行Windows Server 2008 64位。
谢谢!
使用较新版本的组策略pipe理控制台。 理想情况下,在Windows 7或更新版本的工作站上安装RSAT并远程pipe理它。
你可能可以运行一个batch file,其中包含了一些内容
powershell c:\path\to\powershellscript.ps1
要么
powershell \\servername\share\powershellscript.ps1
(您可能必须先在工作站上启用powershell。)