开启powershell远程权限
开启远程操作权限
Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned
Powershell开启远程功能:
Enable-PSRemoting
测试是否开启:
Enter-PSSession -ComputerName localhost
------山的那一边
开启远程操作权限
Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned
Powershell开启远程功能:
Enable-PSRemoting
测试是否开启:
Enter-PSSession -ComputerName localhost