I have a powershell script which sends a message it takes 2 parameters thus
pushover.ps1 -title "A Title" -message "Message for user"
I want to use this as an action in KSHM
So I setup command line
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" c:\scripts\pushover.ps1 -title "%TestName%" -message "%SimpleStatus%"
I only get the 1st word from the Macro if it is multiword
How do I use multi word macros for my parameters?
Thanks
Powershell with parameters
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact: