Tag Archive: ConvertTo-SecureString

VM per datastore PowerCLI e-mail report

I have been asked to create a monitoring script to calculate the number of virtual machines per datastore. I know there are a lot of examples in the community doing the exact same thing. This particular case includes one requirement which i have not seen in the communities examples. My customer wants one e-mail to …

Continue reading »

Schedule PowerCLI script in Windows task scheduler

I have received a couple of questions about how to add a PowerCLI scrip to Windows task scheduler after publishing my blog post vSphere Cluster Resource Pool Configuration Script Depending on the customer requirements there are several ways of doing this. Customer requirements for my implementation includes: An active directory based service account must be used …

Continue reading »