Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Find properties/methods of a class?

$
0
0

The exercise im trying to do is find the SID of each group on a local machine.

I want to do this without simply copying down a script. 
I know i need the System.Security Class, but i cant figure out how to see the methods/classes/properties in this class.

Ive tried 

System.Security | Get-member

and 

$newObj = System.Security
get-member $newObj

and a few variants. Can anyone advise how i explore the classes from within powershell?


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>