Hacker News new | ask | show | jobs
by jniedrauer 1802 days ago
Several years ago, I had to use this trick to automate an MSSQL install via powershell remoting. One of the operations the installer performed was disallowed for powershell remoting sessions. So I set up my script to create a service and then invoke the installer from the service, which worked perfectly. Whatever security checks they had on powershell remoting sessions weren't much more than security theater. Not sure if this is still the case, but it seems that this is still a useful trick.