{"id":4628,"date":"2015-05-18T10:00:35","date_gmt":"2015-05-18T08:00:35","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/"},"modified":"2015-05-18T10:00:35","modified_gmt":"2015-05-18T08:00:35","slug":"get-the-main-administration-information-from-sql-server-with-powershell","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/","title":{"rendered":"Get the main Administration Information from SQL Server with PowerShell"},"content":{"rendered":"<p>In my previous blog<a href=\"http:\/\/dbi-services.com\/blog\/get-sql-server-services-with-powershell\/\"> Get SQL Server services with PowerShell<\/a>, I presented you the first step of the SQL Server administration through an automated process.<br \/>\nThis blog is a follow-up of the previous one, and it will focus on retrieving information of a SQL Server instance with PowerShell<br \/>\nDisclaimer: I am not a developer but a SQL Server dba. If you find errors or some ways of improvement, I will be glad to read your comments!<\/p>\n<h3>List all SQL Server instances<\/h3>\n<p>To be able to proceed for all the instances, you can easily get all your instance names with this function:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"Get-SQLInstances_function_20150504-135411_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png\"><img decoding=\"async\" title=\"Get-SQLInstances_function_20150504-135411_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png\" alt=\"Get-SQLInstances_function_20150504-135411_1.png\" \/><\/a><\/p>\n<h3>Retrieve SQL Server instance information<\/h3>\n<p>In my example, I execute my script on the machine hosting my SQL Server instance.<br \/>\nI use SMO objects to access to the instance information . But you need the instance full name , as follows:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"full_instance_name.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/full_instance_name.png\"><img decoding=\"async\" title=\"full_instance_name.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/full_instance_name.png\" alt=\"full_instance_name.png\" \/><\/a><\/p>\n<p>I only give the instance name as parameter because I execute my script on a local server, otherwise I need to give the server name as parameter.<br \/>\nFirst I initialize my SMO object of my instance like this:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"instance_smo_object.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_smo_object.png\"><img decoding=\"async\" title=\"instance_smo_object.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_smo_object.png\" alt=\"instance_smo_object.png\" \/><\/a><\/p>\n<p>This SMO object contains SQL Server instance main information. To list all properties and the object methods, proceed as follows:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"service_properties_and_methods_20150504-141841_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/service_properties_and_methods_20150504-141841_1.png\"><img decoding=\"async\" title=\"service_properties_and_methods_20150504-141841_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/service_properties_and_methods_20150504-141841_1.png\" alt=\"service_properties_and_methods_20150504-141841_1.png\" \/><\/a><\/p>\n<p>To list the general information of\u00a0 the instance, you can proceed like this:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"instance_general_information.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_general_information.png\"><img decoding=\"async\" title=\"instance_general_information.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_general_information.png\" alt=\"instance_general_information.png\" \/><\/a><\/p>\n<p>To list the directory paths related to the instance, here is an example:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"instance_directories.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_directories.png\"><img decoding=\"async\" title=\"instance_directories.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_directories.png\" alt=\"instance_directories.png\" \/><\/a><\/p>\n<p>To list important instance configuration, here is an example:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"instance_configuration.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_configuration.png\"><img decoding=\"async\" title=\"instance_configuration.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/instance_configuration.png\" alt=\"instance_configuration.png\" \/><\/a><\/p>\n<p>By formating the information you retrieve in the instance SMO object, you can generate reports, audit your environment or whatever!<br \/>\nThe following capture is an existing dashboard from our <a href=\"https:\/\/www.dbi-services.com\/offering\/products\/database-management-kit-dmk\">Database Management Kit (DMK)<\/a>.<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"dmk_instance_information.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/dmk_instance_information.png\"><img decoding=\"async\" title=\"dmk_instance_information.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/dmk_instance_information.png\" alt=\"dmk_instance_information.png\" \/><\/a><\/p>\n<h3>Next steps<\/h3>\n<p>The SMO object for the SQL Server instance has a limit number of properties and methods. Sometimes, you need information which are not present in the object. In this case, you must use the &#8220;sqlcmd&#8221; command and retrieve your information by using T-SQL.<\/p>\n<p>Here is the way to proceed:<br \/>\n<a class=\"easyblog-thumb-preview\" title=\"invoke_sqlcmd_command.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/invoke_sqlcmd_command.png\"><img decoding=\"async\" title=\"invoke_sqlcmd_command.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/invoke_sqlcmd_command.png\" alt=\"invoke_sqlcmd_command.png\" \/><\/a><\/p>\n<p>To retrieve any of SQL Server instance information, the &#8220;sqlcmd&#8221; command would always work. You can also use it to modify the instance configuration.<br \/>\nI hope this blog will help you in your work. In my next blog, I will show you how to access to your database information with PowerShell.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous blog Get SQL Server services with PowerShell, I presented you the first step of the SQL Server administration through an automated process. This blog is a follow-up of the previous one, and it will focus on retrieving information of a SQL Server instance with PowerShell Disclaimer: I am not a developer but&hellip;&nbsp;<\/p>\n","protected":false},"author":14,"featured_media":4629,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133],"tags":[559,272],"class_list":["post-4628","post","type-post","status-publish","format-standard","has-post-thumbnail","category-database","tag-dmk","tag-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Get the main Administration Information from SQL Server with PowerShell - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get the main Administration Information from SQL Server with PowerShell\" \/>\n<meta property=\"og:description\" content=\"In my previous blog Get SQL Server services with PowerShell, I presented you the first step of the SQL Server administration through an automated process. This blog is a follow-up of the previous one, and it will focus on retrieving information of a SQL Server instance with PowerShell Disclaimer: I am not a developer but&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-05-18T08:00:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1086\" \/>\n\t<meta property=\"og:image:height\" content=\"358\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nathan Courtine\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nathan Courtine\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/\"},\"author\":{\"name\":\"Nathan Courtine\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/7c4623e3223cf21614c4a06c853ca363\"},\"headline\":\"Get the main Administration Information from SQL Server with PowerShell\",\"datePublished\":\"2015-05-18T08:00:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/\"},\"wordCount\":378,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Get-SQLInstances_function_20150504-135411_1.png\",\"keywords\":[\"DMK\",\"PowerShell\"],\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/\",\"name\":\"Get the main Administration Information from SQL Server with PowerShell - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Get-SQLInstances_function_20150504-135411_1.png\",\"datePublished\":\"2015-05-18T08:00:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Get-SQLInstances_function_20150504-135411_1.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Get-SQLInstances_function_20150504-135411_1.png\",\"width\":1086,\"height\":358},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/get-the-main-administration-information-from-sql-server-with-powershell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get the main Administration Information from SQL Server with PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/7c4623e3223cf21614c4a06c853ca363\",\"name\":\"Nathan Courtine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/NAC_web-min-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/NAC_web-min-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/NAC_web-min-scaled.jpg\",\"caption\":\"Nathan Courtine\"},\"description\":\"Nathan Courtine has more than nine years of experience in Microsoft solutions, specializing in SQL Server installation, migration, performance analysis, and automation. He holds Microsoft Certified Solutions Expert (MCSE), Microsoft Certified Azure Administrator Associate, and AWS Certified Solutions Architect Associate credentials. He holds a Computer Science degree from ENSISA Mulhouse. His industry experience covers the public sector, pharma, IT, and banking\\\/financial services.\",\"sameAs\":[\"https:\\\/\\\/www.sequotech.com\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vincentheimann\\\/\"],\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/nathan-courtine\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Get the main Administration Information from SQL Server with PowerShell - dbi services Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Get the main Administration Information from SQL Server with PowerShell","og_description":"In my previous blog Get SQL Server services with PowerShell, I presented you the first step of the SQL Server administration through an automated process. This blog is a follow-up of the previous one, and it will focus on retrieving information of a SQL Server instance with PowerShell Disclaimer: I am not a developer but&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2015-05-18T08:00:35+00:00","og_image":[{"width":1086,"height":358,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png","type":"image\/png"}],"author":"Nathan Courtine","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Nathan Courtine","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/"},"author":{"name":"Nathan Courtine","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/7c4623e3223cf21614c4a06c853ca363"},"headline":"Get the main Administration Information from SQL Server with PowerShell","datePublished":"2015-05-18T08:00:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/"},"wordCount":378,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png","keywords":["DMK","PowerShell"],"articleSection":["Database"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/","url":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/","name":"Get the main Administration Information from SQL Server with PowerShell - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png","datePublished":"2015-05-18T08:00:35+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/Get-SQLInstances_function_20150504-135411_1.png","width":1086,"height":358},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/get-the-main-administration-information-from-sql-server-with-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Get the main Administration Information from SQL Server with PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/7c4623e3223cf21614c4a06c853ca363","name":"Nathan Courtine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/NAC_web-min-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/NAC_web-min-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/NAC_web-min-scaled.jpg","caption":"Nathan Courtine"},"description":"Nathan Courtine has more than nine years of experience in Microsoft solutions, specializing in SQL Server installation, migration, performance analysis, and automation. He holds Microsoft Certified Solutions Expert (MCSE), Microsoft Certified Azure Administrator Associate, and AWS Certified Solutions Architect Associate credentials. He holds a Computer Science degree from ENSISA Mulhouse. His industry experience covers the public sector, pharma, IT, and banking\/financial services.","sameAs":["https:\/\/www.sequotech.com\/","https:\/\/www.linkedin.com\/in\/vincentheimann\/"],"url":"https:\/\/www.dbi-services.com\/blog\/author\/nathan-courtine\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/4628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=4628"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/4628\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/4629"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=4628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=4628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=4628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}