ThePowerShellGuy.com

Did you do your PowerShelling today ?
Welcome to ThePowerShellGuy.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » ADO » SQL Server
  • PowerShell get-SqlServerList

    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 ...
    Posted to The PowerShell Guy (Weblog) by admin on February 9, 2007
Powered by Community Server (Personal Edition), by Telligent Systems