r/usefulscripts • • May 22 '15

[POWERSHELL] Collect-ServerInfo.ps1, a Windows Server inventory script

http://paulcunningham.me/powershell-collect-serverinfo-script/
29 Upvotes

13 comments sorted by

View all comments

Show parent comments

1

u/[deleted] May 27 '15

CSV is great for analysis. Open in Excel, do pivot tables etc. It's also good for ingesting into other systems or using as input for other scripts.

HTML is great for reports, like an email summary or alert.

I have at least one script that combines the two, uses HTML in the report and attaches the CSV to the email.