Skip to content

Instantly share code, notes, and snippets.

@seraphy
Created February 10, 2013 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seraphy/4750882 to your computer and use it in GitHub Desktop.
Save seraphy/4750882 to your computer and use it in GitHub Desktop.
PowerShellをリモートシェルとして使う方法
*パワーシェルをリモートシェルとして使う方法
[サーバー側で]
Enable-PSRemoting
[クライアント側で]
Set-Item WSMan:\localhost\Client\TrustedHosts -Value *
[クライアントからサーバへの接続]
ドメインに参加していないワークグループの場合、
enter-pssession -ComputerName <MACHINENAME> -Credential <MACHINENAME>\<USERNAME>
[参考URL]
http://atamoco.boy.jp/ps/20100913_2.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment