Glad you found it useful.  While you can use it alone, it's also useful with tools like PsExec from the Sysinternals suite. I might do an episode about that particular command as well. That suite has so many tools but PsExec is the one I use the most.

https://docs.microsoft.com/en-us/sysinternals/

You could probably create a batch file or Powershell script to go through a list of hostnames and have them reboot/shutdown remotely.