Skip to content

Instantly share code, notes, and snippets.

@inouetmhr
Last active January 16, 2018 12:39
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 inouetmhr/295d7968e2d61a71568cc90100acd785 to your computer and use it in GitHub Desktop.
Save inouetmhr/295d7968e2d61a71568cc90100acd785 to your computer and use it in GitHub Desktop.
WinRMでのリモート再起動(不完全メモ)

Server側(リモートから再起動したいマシン)

  • 管理者権限ありの PowerShell or CMD で下記コマンドを実行
  • winrm qc

Client側 (リモートマシン)

  • 管理者権限ありの PowerShell or CMD で下記コマンドを実行
  • winrm set winrm/config/client @{TrustedHosts="<コンピューター名a>,<コンピューター名b>"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment