WinRM: Difference between revisions
Jump to navigation
Jump to search
No edit summary (change visibility) |
No edit summary (change visibility) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
winrm get winrm/config | winrm get winrm/config | ||
$skipCN = New-PSSessionOption -SkipCNCheck -SkipCACheck | |||
enter-pssession tSFdemo2013-DC1 -UseSSL -SessionOption $skipcn | |||
Invoke-Command -ComputerName tsfdemo2013-dc1 -UseSSL -ScriptBlock {ipconfig} -SessionOption $skipcn | |||
winrm e winrm/config/listener |
Latest revision as of 14:07, 15 April 2015
winrm quickconfig -transport:https
- Note: this command requires a valid server authentication certificate present in machine MY store.
winrm get winrm/config
$skipCN = New-PSSessionOption -SkipCNCheck -SkipCACheck enter-pssession tSFdemo2013-DC1 -UseSSL -SessionOption $skipcn Invoke-Command -ComputerName tsfdemo2013-dc1 -UseSSL -ScriptBlock {ipconfig} -SessionOption $skipcn
winrm e winrm/config/listener