Powershell is hell

winrm complaining “Error: Invalid use of command line.” – easy fix :)

Heh, this article is going to be another one of those “Drat, I should’ve known this” articles. But maybe it’ll be helpful for someone else as well! In this post I will explain how to get around the “Error: Invalid use of command line. Type “winrm -?” for help.” error being thrown at you. And if you’re like me (and your error is the same as mine), you’ll mostly get…Continue reading winrm complaining “Error: Invalid use of command line.” – easy fix :)