Antes de iniciar con temas de base de datos y demás, vamos a sacar info de nuestro server.
El código:
clear
#Sql Browser en funcionamiento
#to discover SQL Server instances
Start-Service "SQLBrowser"
$instanceName = "SQLSERVER14W12"
$server = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Server -ArgumentList $instanceName
$server.Information.Product +' '+$server.Information.ProductLevel+' ' + $server.Information.VersionString
$server.Information.Edition
$server.Information.Language
$server.Information.Collation
$server.Information.ComputerNamePhysicalNetBIOS
Se puede ampliar a tu gusto en:
https://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.information.aspx
Ahora a jugar con los diferentes parámetros.