I am working on a PowerShell script that uses Invoke-ASCMD to run XMLA scripts. In some cases, I have multiple XMLA scripts that need to run. How can I make sure each Invoke-ASCMD/XMLA script runs successfully before starting the next one?
↧