Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Script to pull IIS informatio
Post Body

Is it possible to make a script that pulls info from IIS from a number of servers and neatly / in a formatted fashion populates an excel spreadsheet. I'm no expert on PS and I've created a small script to do a single server, actually live on the server below:

PS C:\> Install-Module -Name 'IISAdministration' PS C:\> Get-IISSite Get-IISSite | Select-Object Name,ID,State,'Physical Path',@{n='Bindings';e={$_.Bindings -Join ', '}} | Export-Csv c:\file1.csv -NoTypeInformation

I can't get the physical path to populate but I don't think there is anything to support this apart from spitting out the sites whole folder directory, or just that top level. But as my knowledge is limited and before I go delving deep into this:

1) Is it possible to pull say 50 servers IIS information, list of applications/bindings, maybe physical path etc.

2) And actually have it drop it into a table where its readable, and formatted, whether that be each server is a new tab or it lists which server its pulled it from with a hostname as an ID?

TIA

Author
Account Strength
90%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
5,370
Link Karma
1,375
Comment Karma
3,980
Profile updated: 1 day ago
Posts updated: 6 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago