I believe I'm on the verge of understanding this and if someone could answer a couple questions I'd be greatfull.

First, what is the purpose of "Debug,Remoteshutdown" in the following line.
code:
winmgmts:{(Debug,RemoteShutdown)}

In some of the examples on this board I've seen different words such as "impersonationLevel=impersonate" and others were blank.

Second, why was it necessary to do a query for "Primary=true". I was looking at Win32Shutdown on MS MSDN but I see no reference to "this must happen" before you can do "this".

I'm trying to understand what the value of $OpSys is in "$execut = $OpSys.Win32Shutdown(4)".

Thanks for any help.