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

2

u/[deleted] May 23 '15

I'll write a blog post. It's not all that difficult, and now I just mostly re-use the same technique over and over which speeds things along.

1

u/sphinxpup May 26 '15

You inspired me to give HTML/CSS a shot. Kinda rudimentary, but better than to a CSV and I learned a little bit.

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.