Whilst I am currently learning about Powershell and writing a few scripts I thought I would blog my scripts here. Mainly for my benefit so I can easily find them and maybe some will be of use to someone out there. Also if you look at any of my scripts and cringe that something isn’t right or could be done better please let me know.
First a bit of a disclaimer, I find it easiest to learn by starting out with a script that I know that works and changing it to suit what I am doing. As such a number of my scripts may contain elements that are not my own work. I will try and credit all third parties where possible, if I have missed you and I am clearly using your code please let me know and I will be happy to credit you.
Finally please remember I am a beginner so before using any scripts please test on a test system first.
The script below will create a very simple HTML Hostname and IP list at c:\IPReport.html which maybe useful when documenting a system. Elements of this script particularly the connection to the VIServer come from scripts found on Alan Renouf’s site www.virtu-al.net I highly recommend his site if you are learning powershell or just looking for scripts to help you with your daily admin tasks.