We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Single script to get all the details from IIS 7 serverRSS

2 replies

Last post May 21, 2014 10:37 AM by CeeDee23

  • Single script to get all the details from IIS 7 server

    May 20, 2014 12:35 PM|CeeDee23|LINK

    Being new to PowerShell, I was looking for a script that would output all the config details of my IIS 7 server to a .csv file, I need to document the server/s in detail for DR purposes.

    I have used Get-Website but need all the configs eg. SMTP email configurations etc within the various web sites.

    Any help?

  • Re: Single script to get all the details from IIS 7 server

    May 20, 2014 11:46 PM|lextm|LINK

    You might go to Script Center to see if there is already a script for that purpose. If not, you probably need to write it on your own.

    http://technet.microsoft.com/en-US/ScriptCenter

    SMTP is no longer part of IIS since IIS 7. Thus, I doubt if you can use IIS PowerShell interface to query SMTP settings.

    Lex Li
    Want to have a chat on the issues you meet? Book an appointment at https://buy.stripe.com/cN24ia0yi7sAdIA7sv
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Single script to get all the details from IIS 7 server

    May 21, 2014 10:37 AM|CeeDee23|LINK

    Thanks, yep I have searched Script centers and Internet and came up with nothing so, once I get up to speed on scripting I will hopefully post something here