PowerCLI Reference

Update-HCXSentinel

Synopsis

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

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

NameTypeDescriptionRequired?Pipeline InputDefault Value
ServerHcxServer[]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.falseFalse
VMHCXVM[]Specifies the list of virtual machine IDs where the sentinel software runs.trueFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

VMware.VimAutomation.Hcx.Types.V1.HCXSentinelUpgrade

Notes

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).


Copyright © VMware, Inc. All rights reserved.