在无人参与的安装过程中启用Powershell远程处理

有没有办法在无人参与的Windows Server 2008 R2安装期间启用Powershell远程处理( Enable-PSRemoting )? 在unattend.xml中有这样的设置吗?

如果您在AD域中,则优先方式将通过GPO :

  1. 启用计算机configuration\策略\pipe理模板\ Windows组件\ Windows远程pipe理\ WinRM服务\允许自动configuration侦听器
  2. 为Windows远程pipe理创build入站防火墙规则

您可以从unattend.xml运行脚本,在这里您将find一个示例如何执行该操作:示例3:运行脚本http://technet.microsoft.com/en-us/library/cc732280%28WS.10% 29.aspx#ImageOlder3

我没有testing过,但是你可以在这里运行这个脚本: Enable-PSRemoting