[PowerShell V2] リモーティングを有効化する設定方法
?? Windows PowerShell V2 ?????????????????????????????????????????????????????????????????????
????????????????????????????? Windows PowerShell ????????????????????
PS C:\> Set-WSManQuickConfig
???????????????????????????????????????????????????????????????
WinRM Quick Configuration
Running the Set-WSManQuickConfig command has significant security implications, as it enables remote management through the WinRM service on this computer.
This command:
1. Checks whether the WinRM service is running. If the WinRM service is not running, the service is started.
2. Sets the WinRM service startup type to automatic.
3. Creates a listener to accept requests on any IP address. By default, the transport is HTTP.
4. Enables a firewall exception for WS-Management traffic.Do you want to enable remote management through the WinRM service on this computer?
[Y] ??(Y) [N] ???(N) [S] ??(S) [?] ??? (???? "Y"):
????????4???????????
- WinRM ???????????????????????????
- WinRM ??????????????????????
- ?????????????????????
- WS-Management ?????????????????????
Y ??????????????????????????????????(???????????????????????????)
WinRM ?????????????????????????????????
WinRM ?????????????????
??????????????? IP ?? WS-Man ???????????https://* ?? WinRM ????????????
?????HTTP ??????????????????????http.sys ?????????IIS ?????????????????netsh ???????????
C:\> netsh http show urlacl
(??)
???? URL : https://+:5986/wsman/
(??)
???? URL : https://+:5985/wsman/
(??)
?????????? URL ? HTTP/HTTPS ??????????????????????????????????WS-Man ???????????Windows 7 RC, Windows Server 2008 R2 RC ???5985(http)/5986(https) ???????????