Invoke-Command is a great tool in the powershell arsenal, but what if you need a little more than what the standard Invoke-Command has to offer? For example, I have a funky batch script that does some SQL juju that needs to be run as the SYSTEM user on demand. Or, what if I’m running into […]
Tag: Invoke-Command
Wait…You Can Invoke-Command directly to a Hyper-V VM? This Changes so Many Things.
Why yes, yes you can, and it’s called Powershell Direct . I had no idea was a thing until we decided we were going to switch some of our VMware stack over to Hyper-V. The gist of it is, instead of having to go through the whole process of enabling WinRM on your VMs, whether […]