작업그룹(Workgroup) 환경에서 PowerShell Remoting(파워쉘 원격 관리) 하기


도메인 환경이 아닌 작업그룹 환경에서 파워쉘로 원격 컴퓨터에 접속하려고 하면 실패한다.
그 이유는 1)인증 문제와 2)서비스 시작 문제 그리고 3)네트워크 카드의 프로파일 문제 때문이다.
도메인 환경에서는 이 3가지 문제가 동시에 해결되기 때문에 문제가 없다.
[접속을 허용하는 서버 쪽 설정하기]
Enable-PSRemoting -Force
Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private
[접속을 하는 클라이언트 쪽 설정하기]
Enable-PSRemoting -Force
Set-Item WSMan:\localhost\client\TrustedHosts -Value *
Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private
[원격 컴퓨터에 접속하기]
Test-WSMan remotecomputername
Enter-PSSession -ComputerName remotecomputername

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s