Uninstall-HCXSentinel
This cmdlet uninstalls the sentinel software running on the source virtual machine.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VM | HCXVM | named |
|
Specifies the ID of the virtual machine 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.HCXJobExamples
Example 1
$site=Get-HCXSite -Type "Sentinel" $vm=Get-HCXVM -Name $vmName -Site $site Uninstall-HCXSentinel -VM $vm
Retrieves the source site by type. Uninstalls the sentinel software that runs on the virtual machine.
Example 2
$site=Get-HCXSite -Name "Non vSphere Inventory" $vm=Get-HCXVM -Name $vmName -Site $site Uninstall-HCXSentinel -VM $vm
Retrieves the source site by Name Uninstalls the sentinel software that runs on the 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.