Update-HCXSentinel Command | Vmware PowerCLI Reference

Update-HCXSentinel

This cmdlet upgrades the HCX sentinel software running on the source virtual machine.

Syntax

Update-HCXSentinel
-VM < HCXVM[] >
[-ProgressAction < ActionPreference > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VM HCXVM[] named
Specifies the list of virtual machine IDs where the sentinel software runs.
optional ProgressAction ActionPreference named
optional Server HcxServer[] named
Specifies the HCX Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.

Output

VMware.VimAutomation.Hcx.Types.V1.HCXSentinelUpgrade

Examples

Example 1

$site = Get-HCXSite -Type Sentinel
$vm = Get-HCXVM -Name $vmName -Site $site
$update = Update-HCXSentinel -VM $vm
Wait-HCXJob -Job $update

Retrieves the source site by type. Upgrades the VMware HCX Sentinel software that runs on the source virtual machine.

Example 2

$site=Get-HCXSite -Name "Non vSphere Inventory"
$vm=Get-HCXVM -Name $vmName -Site $site
$update = Update-HCXSentinel -VM $vm
Wait-HCXJob -Job $update

Retrieves the source site by name. Upgrades the VMware HCX Sentinel software that runs on the source virtual machine.

Example 3

$site = Get-HCXSite -Type Sentinel
$vm = Get-HCXVM -Site $site
$update = Update-HCXSentinel -VM $vm
Wait-HCXJob -Job $update

Retrieves the source site by type. Upgrades VMware HCX Sentinel software running on one or more source virtual machine.

Example 4

$site=Get-HCXSite -Name "Non vSphere Inventory"
$vm=Get-HCXVM -Site $site
$update = Update-HCXSentinel -VM $vm
Wait-HCXJob -Job $update

Retrieves the source site by name. Upgrades VMware HCX Sentinel software running on one or more source virtual machine.

Related Commands

HCXSentinel

This cmdlet uninstalls the sentinel from a virtual machine.

This cmdlet upgrades the HCX sentinel software running on the source virtual machine.

HCXSentinelBundle

This cmdlet creates and downloads an HCX Sentinel bundle.