This sample code shows how to use PowerShell to simulate a workload of simultaneous connections against a SQL Server Analysis Services server.




In order for the script to run, the sqlps PowerShell module should be imported.


Further details on how to use this script and a complete walkthrough are available at