Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Servers in a domain

$
0
0
Does this code create the list of servers available within a domain ?System.Data.Sql.SqlDataSourceEnumerator]::Instance.GetDataSources() | SELECT ServerName | Format-Table -HideTableHeaders >> C:\INSERTFoundSQLServers.txt​

Viewing all articles
Browse latest Browse all 467

Trending Articles