How to get SID using cmd

I

ItsMe-Roger

Hi All

I have cloned a AWS server and i have run sysprep and i would like to know what is the SID of this server. when i run the below syntax i am getting dsquery error i.e dsquery is not recognized . is there any other way to get the SID, experts guide me on this

C:\Windows\system32>dsquery computer -name "MyServer01" | dsget computer -SID

Continue reading...
 
Back
Top Bottom