>>服务端
Enable-PSRemoting
winrm quickconfig ————这个可能不需要
>>客户端
Set-Item wsman:localhostClientTrustedhosts -value 192.168.159.*
Enter-PSSession -ComputerName 192.168.159.169 –Credential WORKGROUPAdministrator
>>服务端
Enable-PSRemoting
winrm quickconfig ————这个可能不需要
>>客户端
Set-Item wsman:localhostClientTrustedhosts -value 192.168.159.*
Enter-PSSession -ComputerName 192.168.159.169 –Credential WORKGROUPAdministrator