Syntax
Update-HCXSentinel -VM <HCXVM[]> [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet upgrades the HCX sentinel software running on the source virtual machine.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Server | HcxServer[] | Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet. | false | False | |
VM | HCXVM[] | Specifies the list of virtual machine IDs where the sentinel software runs. | true | False | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXSentinelUpgradeNotes
Examples
-------------------------- Example 1 --------------------------
$site = Get-HCXSite -Type Sentinel $vm = Get-HCXVM -Name $vmName -Site $site Update-HCXSentinel -VM $vm
Retieves the source site by type
Upgrades the sentinel software that runs on virtual machine.
-------------------------- Example 2 --------------------------
$site=Get-HCXSite -Name "Non vSphere Inventory" $vm=Get-HCXVM -Name $vmName -Site $site Update-HCXSentinel -VM $vm
Retrieves the source site by name
Upgrades the sentinel software that runs on virtual machine.
-------------------------- Example 3 --------------------------
$site = Get-HCXSite -Type Sentinel $vm = Get-HCXVM -Site $site Update-HCXSentinel -VM $vm
Retrieves the source site by type.
Upgrades one or more sentinel software that runs on one or more virtual machines (one sentinel software corresponds to one virtual machine).
-------------------------- Example 4 --------------------------
$site=Get-HCXSite -Name "Non vSphere Inventory" $vm=Get-HCXVM -Site $site Update-HCXSentinel -VM $vm
Retrieves the source site by name.
Upgrades one or more sentinel software that runs on one or more virtual machines (one sentinel software corresponds to one virtual machine).