September 2, 2010
To run a Powershell script at action 'Run a command' in vSphere alarm configuration, use the following syntax example:
c:\windows\system32\cmd.exe /c %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe c:\vcalarm.ps1
c:\windows\system32\cmd.exe /c %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe c:\vcalarm.ps1
Subscribe to:
Post Comments (Atom)
Blog Archive
Tags
Links
About Me
- Catherina
- I took the PowerShell Master Class for Thomas Lee in Stockholm in march 2010.
0 kommentarer:
Post a Comment