VMware Cloud Community
gffman
Contributor
Contributor

revert the vm client on ESXi Server is too slow

hi,

i use the command "%PATH%\powershell.exe -psc "%ROOTPATH%\VMware\Infrastructure\vSphere PowerCLI\vim.psc1" -c %PATH%\revert.ps1 Win7_Ent_X64_EN-US esxi" to remote revert my vm client on ESXi Server , but it always take 2-3 min to revert for every vm on server, the ESXi server is a powerful one, so I can actually ignored the machine performence, and i always encounter a warrning nessage after i execute my revert command :

Warrning: There were one or more problems with the server certificate:

  • The X509 chain could not be built up to the root certificate.

  • The certificate's CN name does not match the passed value.

dose anyone have idea to help me with this performence issue?..appreciate for your kindly help!!

0 Kudos
1 Reply
LucD
Leadership
Leadership

That message is only a warning when you don't have a certificate configured, you can ignore it.

There is a known issue when your using a proxy configuration on the station where you run the script.

With the Set-PowerCLIConfiguration cmdlet you can tell PowerCLI not to use the system proxy.

Give that a try.

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos