mrdwprice
6 years agoContributor
Execute a Powershell using Groovy test step
Is it possible to execute a Powershell file using the groovy test step?
for example:
mypowershell.ps1
located in C:\test
?
- 6 years ago
Groovy add the execute method to the String object. This can be used to run your Powershell script from the command line. See the following for an example of the execute method:
https://mrhaki.blogspot.com/2009/10/groovy-goodness-executing-string-or.html