How to run a Batch remotely with WMIC?

How to run a Batch remotely with WMIC?

Most of the daily IT support tasks involve connecting to remote machines and performing chores of all sorts.

WMIC mean “Windows Management Instrumentation Command” and it helps to retrieve information and make changes in local or remote computers.

Using WMIC envolves 3 steps:

  • User authentication
  • Copying the file to the target
  • Executing the file

In a way it requires a script to launch a script remotely. It kinda looks like this: