WinRM

From WikiWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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