I have been working on hardening ESXi and CVSA by individually exciting PowerCLI cmdlets.
Has anyone ever created PowerCLI scripts to run all the cmdlets in a single script?
I published a bunch of stuff at http://virtualizationgains.com/security-audit-guide/
One of the guys at work wrapped it all in a single script, we haven't published it as it more or less giving away our configuration parameters
But I'll try and post the basic idea tomorrow
Thanks for you reply,
I'm pretty new to PowerCLI and I'm trying to test hardening ESXi and VCAS using a totally automated process and and GUI. I know what all of my configuration settings are going to be, I'm just not sure if for instance VCAS can be harden using only cmdlets. I know that ESXi itself has to be done in Shell or Pearl due to the nature of the OS.
For ESXi I started to Create a Script on my Blog: