[원격 Powershell 설정]
[서버]
enable-PSRemoting -force
(에러시) Set-NetConnectionProfile -NetworkCategory Private
(winrm서비스 실행) winrm qucikconfig
(확인) Get-Item WSMan:\localhost\Client\TrustedHosts
(등록) Winrm s winrm/config/client '@{TrustedHosts="*"}'
[클라이언트]
(winrm서비스 실행)winrm quickconfig
(확인) Get-Item WSMan:\localhost\Client\TrustedHosts
(등록) Winrm s winrm/config/client '@{TrustedHosts="*"}'
[접속아이피가 192.168.1.1 이라면]
(접속할때) Enter-PSSession -ComputerName 192.168.1.1
아.. 뭔가 좀.. 심플하고 강력하게.. 안되나??
댓글 없음:
댓글 쓰기