Staging is the copying of patches to ESXi hosts without applying the to the hosts. This can reduce the time hosts that are in the maintenance mode during the remediation. Staging is optional. You can remediate hosts without staging the patches to the host in advance. The Copy-Patch
cmdlet initializes staging of patchespatches to the hosts. This can reduce the time hosts that are in the maintenance mode during the remediation. Staging is optional. You can remediate hosts without staging the patches to the host in advance. The Copy-Patch cmdlet initializes staging of patches. The syntax of the Copy-Patch
cmdlet is as follows:
Copy-Patch [-Server <VIServer[]>] [-Entity] <InventoryItem[]> [-Baseline <PatchBaseline[]>] [-ExcludePatch <Patch[]>] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
The -Entity
parameter is required.
In the following example, we will stage patches to host 192.168.0.133
:
PowerCLI C:\> Copy-Patch -Entity...