I'm trying to figure out how does
scmd shutdown /m \192.168.1.X
works so I can us it in c# program
I'm trying to figure out how does
scmd shutdown /m \192.168.1.X
works so I can us it in c# program
Process.Start( "scmd shutdown /m \192.168.1.X" );
Instead of writing your own code to shutdown remote computers maybe you can capture the output of the command and parse it to see if it was successful or get the error message.