|
|
Browse by Tags
All Tags » XML » WinRM
-
As you could see in my last post : My First WinRM PowerShell Script , I started playing with WinRM in this post how to retrieve a list of services on a remote computer, often youcan not do this with your current user account
So we want to connect to a remote server to list the services, and need other credentials First the ...
-
My First WinRM PowerShell Script
PoSH> $wa = New-Object -ComObject Wsman.AutomationPoSH> $session = $wa.CreateSession()PoSH> $res = $session.Identify()PoSH> $xr = [xml]$resPoSH> $xr.IdentifyResponse.ProductVersionOS: 5.1.2600 SP: 2.0 Stack: 1.1PoSH>
This is only connecting to get the version information of WinRM
Note that ...
|
|
|