Content area
PowerShell offers advantages such as multiserver management and advanced .NET integration capabilities that aren't present in Windows shell scripting and T-SQL. Another way to do this is to start the PowerShell command prompt with the sqlps module loaded by opening SQL Server Management Studio (SSMS). right-clicking in Object Explorer, and selecting the Start PowerShell option from the context menu.
