-
Microsoft.SqlServer.Management.Smo.Server < # .SYNOPSIS This script uses SQL Server Server SMO objects to display server information. .DESCRIPTION This script first loads the SMO assembly and then creates a server object. ...
-
# Get-SQLServers.ps1 # Sample showing use of SMO and PowerShell # Thomas Lee - tfl@psp.co.uk # Load the SMO objects $load = [reflection.assembly] :: LoadWithPartialName( " Microsoft.SqlServer.Smo " ) # Derive the SMO Application Object $smo = [Microsoft.SqlServer.Management.Smo.SmoApplication...