You can use SMO objects with PowerShell as well as the other languages noted here.To create a new instance:$server = New-Object Microsoft.SQLServer.Management.SMO.Server
↧