How to run vCheck:


 How to run vCheck interactively
·         Download the latest PowerCLI from VMware website.
·         Download PowerShell 3.0 from Microsoft (should work), if not use PowerShell 2.0
·         Run the PowerCLI from start menu and connect to your vCenter server (or host, if you don’t have vCenter in your environment) by using the command Connect-VIServer
·         Run the …    .\vCheck.ps1  from within your PowerCLI window and follow the assistant to configure how the script will run for the first time.
·         The second time you run the script there isn’t any input necessary. I’ve embedded a video from Alan Renouf at the end of this post, so you can follow….

Configuring the script


If you want to go back through the configuration or you add new plugins to the script then please run the script with the –config parameter as follows:

.\vCheck.ps1 –config

Output File

To save a copy of the HTML for future reference use the –OutputPath parameter and specify a location where the HTML will be saved. The script as follows:

.\vCheck.ps1 –OutputPath C:\vCheckOutput\DailyReports

No comments:

Post a Comment