|
|
Browse by Tags
All Tags » ADO » SQL Server
-
A handy onliner Function to get a list of SQL servers I have in my Profile function get-SqlServerList {[System.Data.Sql.SqlDataSourceEnumerator]::Instance.GetDataSources()} This function retrieves a DataTable containing information about all visible SQL Server 2000 or SQL Server 2005 instances.
PoSH> function get-SqlServerList ...
|
|
|