IIS 7 and Above
Single script to get all the details from IIS 7 server
Last post May 21, 2014 10:37 AM by CeeDee23
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.
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.
SMTP is no longer part of IIS since IIS 7. Thus, I doubt if you can use IIS PowerShell interface to query SMTP settings.
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