Syntax
Uninstall-HCXSentinel -VM <HCXVM> [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet uninstalls the 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 ID of the virtual machine 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.HCXJobNotes
Examples
-------------------------- 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.