Remove-RASVDIHost
SYNOPSIS
Removes a RAS Guest Agent from a host VM.
SYNTAX
Remove-RASVDIHost [-ProviderId] <uint> [-Id] <string> [-NoUninstall <SwitchParameter>]
[<CommonParameters>]Remove-RASVDIHost [-ProviderId] <uint> [-Id] <string> -Password <SecureString> -Username <string>
[<CommonParameters>]Remove-RASVDIHost [-InputObject] <VDIHost> [-NoUninstall <SwitchParameter>] [<CommonParameters>]Remove-RASVDIHost [-InputObject] <VDIHost> -Password <SecureString> -Username <string>
[<CommonParameters>]DESCRIPTION
Removes a RAS Guest Agent from a host VM, thus making it a plain VM, not a host VM recognized by Parallels RAS.
EXAMPLES
Example 1
Removes the RAS Guest Agent from a VM specified by Provider ID and the VM Id.
The agent will be remotely uninstalled from the server using the specified credentials.
Example 2
Removes RAS Guest Agent from a VM specified by the $VDIHost variable, which is an object of type VDIHost.
The object is obtained using the Get-RASVDIHost cmdlet.
The RAS Guest Agent will not be uninstalled from the server.
Example 3
Removes the RAS Guest Agent from a VM represented by a VDIHost object obtained from the pipeline output.
The agent will be remotely uninstalled from the VM using the specified credentials.
PARAMETERS
-ProviderId
The ID of the Provider server where the target desktop VM resides.
-Id
The ID of the target desktop VM.
-InputObject
An object of type VDIHost representing the target desktop VM.
To obtain the object, use the Get-RASVDIHost cmdlet.
Type reference: VDIHost
-NoUninstall
If this parameter is included, the VDI Host agent will not be uninstalled from the server.
To uninstall the agent, omit this parameter.
When uninstalling the agent, your RAS admin credentials will be used by default.
You can specify different credentials if needed using the Username and Password parameters.
-Username
An administrator account to remotely uninstall the RAS Guest Agent from the VM.
If this parameter is omitted, your RAS admin username and password will be used by default.
-Password
The password of the account specified in the Username parameter.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
VDIHost
OUTPUTS
None
RELATED LINKS
Last updated