Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 136

Powershell script to export IIS website details

$
0
0
<div class="post-text" itemprop="text">

Hi,

I need to extract all the website details created in our IIS server with the following details. As we have more than 80 sites created in our IIS server, I am searching for an easier way to export these details.

details required :

  • Website Name
  • Bindings
  • State
  • DB Server name [mapped in connection string]
  • DB Name [mapped in connection string]

I am able to extract all the details except DB related available in connection strings using get-website cmdlet. Requesting your help if you know any better way to extract all the information under single file.

Thanks,

Raghavendra.

</div>

Viewing all articles
Browse latest Browse all 136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>