sql powershell commands code example Example: mssql studio powershell SQLSERVER:\SQL\MyComputer\MyInstance\Databases\AdventureWorks2012>