Hi, I am wondering what is the best way to process the results of pac cli command in a powershell script?
For example:
$importResult = pac solution import -f -s -wt 240 --path "./someSolution.zip"
$importResult would now contain an array of the log statements.
Connected as ef52xxx
Solution Importing...
Solution Imported successfully.
Is the only way to to parse those lines for 'successfully' or 'FAILURE'?