03 Jun
Posted by: Dima in: Automation, powershell
The story:
I have several powershell scripts that I want to trigger via website, these scripts will start doing a lot of things on different computers on my network. We chose to use PowershellASP as the website server app, that allows you to call PS scripts from withing the HTML. This product works great! Check it out.
The Problem:
If you wish to invoke a command with PSASP, you just put in a PS snippet in HTML and your script is ran
< % Invoke-Command -ScriptBlock { Get-Services }