Does anyone know of a way (other than psexec) to add a user to the local administrators group of a remote machine?
I'm having trouble figuring out the syntax for wmic.
I intend to use WMIC to reset the trust of a machine that is remote, and off the network.
Based on information from my previous question, I'm trying to learn wmic.
I'm playing around with trying to look at which processes are using the most resources on a remote server. What I've managed to come up with is near the bottom of this post.