Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Using [System.Enum] remotely without PowerShell Remoting

$
0
0

Hello All

Can someone please help me with the following question

If I do the following is lists the X509 stores on my PC

[System.Enum]::GetNames('System.Security.Cryptography.X509Certificates.StoreName')

Now I do not see an obvious constructor signature (in fact any, unlike several other .NET classes/types) to allow you to specify a remote computer as i want to enumerate the stores name on a remote computer (which may be different from computer to computer e.g. different OS or app that has added its own store).

Anyone know how to achieve this or perhaps I better look at WMI

Thanks All
Ernie

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles