mcoeatwork
Contributor
Contributor

PowerCLI script for Hardening ESXi and CVSA

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?

0 Kudos
3 Replies
roconnor
Enthusiast
Enthusiast

Hi

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

0 Kudos
mcoeatwork
Contributor
Contributor

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.

0 Kudos
vMarkusK1985
Expert
Expert

For ESXi I started to Create a Script on my Blog:

Script - ESXi Hardening mit PowerCLI - my cloud-(r)evolution

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
0 Kudos