How to schedule a vCheck (PowerShell) for vmware

I just created a .bat file with the following

C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile “%ProgramFiles%\VMware\Infrastructure\vSphere PowerCLI\vim.psc1” -File “C:\vCheck\vCheck.ps1”

Watch those stupid quotation marks, WP tends to mangle them

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s