用户工具

站点工具


drserver:unattendxmlforwindows2008r2sp1

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
上一修订版两侧同时换到之后的修订记录
drserver:unattendxmlforwindows2008r2sp1 [2018/08/31 20:15] liujiadrserver:unattendxmlforwindows2008r2sp1 [2018/09/01 10:51] liujia
行 34: 行 34:
             <FirstLogonCommands>             <FirstLogonCommands>
                 <SynchronousCommand wcm:action="add">                 <SynchronousCommand wcm:action="add">
-                    <CommandLine>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -executionpolicy bypass -command "$wmi = Get-WmiObject -Class Win32_NetworkAdapter -Filter "netconnectionstatus=2"; $wmi.NetConnectionID = 'iEthernet'; $wmi.Put()"</CommandLine>+                    <CommandLine>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "$wmi = Get-WmiObject -Class Win32_NetworkAdapter -Filter "netconnectionstatus=2"; $wmi.NetConnectionID = 'iEthernet'; $wmi.Put()"</CommandLine>
                     <Description>rename nic name</Description>                     <Description>rename nic name</Description>
                     <Order>1</Order>                     <Order>1</Order>
drserver/unattendxmlforwindows2008r2sp1.txt · 最后更改: 2018/10/26 21:47 由 liujia