This document discusses various ways to invoke PowerShell from SQL Server and the SQL command line to perform administrative tasks. It provides examples of loading the SQL Server and SQL Analysis Services management objects assemblies to allow administration of SQL Server instances from PowerShell. The document also covers considerations for using SQL authentication in PowerShell and provides some example PowerShell commands for querying SQL Server processes and customizing the output.