mdaneri / update-vmhosts Goto Github PK
View Code? Open in Web Editor NEWThis cmdlet updates the specified hosts. The cmdlet installs patches on the host. The patches that can be located locally or on a Web location. When using the LocalPath or WebPath parameters, the ESX/ESXi host attempts to store the patch contents in its local temporary directory. Because ESXi hosts might not have enough free space on their local drives, this cannot apply to large size patches.If you want to install patches packaged in a ZIP archive, you must extract them and use one of the LocalPath, or WebPath parameters. If you use the LocalPath parameter, you must extract each patch to a folder. The name of the folder must contain the patch ID (for example,"ESX400-200906001"). If you use the WebPath parameter, you must extract each patch to a folder that is published on a Web server. The patch URL address must contain the patch ID (for example, http://myInternalWebServer/esx40/ESX400-200906001/ ). Depending on the component to be upgraded, you might have to set the host into a maintenance mode and to restart the host or the hostd management service after applying the patch.