List all(count) WinRM/WSMan connections (not powershell)

D

Daniel Mercourios

Hi,

We have an event collector server where connections happen through the WSMan protocol. Is there a way to list all server connected to the event collector?

I know that this:

Get-WSManInstance -ResourceURI Shell -Enumerate

Lists all connections made from powershell.


If I run:

PS C:\> cd wsman:

PS WSMan:\localhost> dir


WSManConfig: Microsoft.WSMan.Management\WSMan::localhost

Type Name SourceOfValue Value
---- ---- ------------- -----
System.String MaxEnvelopeSizekb 500
System.String MaxTimeoutms 60000
System.String MaxBatchItems 32000
System.String MaxProviderRequests 4294967295
Container Client
Container Service
Container Shell
Container Listener
Container Plugin
Container ClientCertificate

This works:

Get-WSManInstance -ResourceURI Shell -Enumerate

These don't

Get-WSManInstance -ResourceURI Listener -Enumerate

Get-WSManInstance -ResourceURI Service -Enumerate


All servers send logs to this address:

Server=http://XXXXXXX.yyy.zzz:5985/wsman/SubscriptionManager/WEC


Does anybody know how to list all connections made through that address or the WSMan protocol in general?

/Daniel

Continue reading...
 
Back
Top Bottom