Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

PowerShell Constructor

$
0
0
The PowerShell example here uses a somewhat depricated syntax. A better way is:$srv = new-Object Microsoft.SqlServer.Management.Smo.Server "(local)" Write-Host $srv.Information.VersionOn my server here, this results in:11.0.2100

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>