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