For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove-RASVDIHostPoolMember

SYNOPSIS

Removes a VDI Host Pool Member from a standalone VDI Host Pool.

SYNTAX

Remove-RASVDIHostPoolMember [-VDIHostPoolId] <uint> -Id <uint> [-NoUninstall <SwitchParameter>]
 [<CommonParameters>]
Remove-RASVDIHostPoolMember -Id <uint> -Password <SecureString> -Username <string>
 [<CommonParameters>]
Remove-RASVDIHostPoolMember [-InputObject] <VDIHostPool> -Id <uint> [-NoUninstall <SwitchParameter>]
 [<CommonParameters>]
Remove-RASVDIHostPoolMember -Id <uint> -Password <SecureString> -Username <string>
 [<CommonParameters>]
Remove-RASVDIHostPoolMember [-VDIHostPoolName] <string> [[-SiteId] <uint>] -Id <uint>
 [-NoUninstall <SwitchParameter>] [<CommonParameters>]
Remove-RASVDIHostPoolMember -Id <uint> -Password <SecureString> -Username <string>
 [<CommonParameters>]

DESCRIPTION

Removes a VDI Host Pool Member from a standalone VDI Host Pool.

EXAMPLES

Example 1

Removes the specified VDI host pool member from the specified standalone VDI host pool.

PARAMETERS

-Id

The VDI Host Pool Member ID.

-NoUninstall

Specifies not to uninstall the RAS Guest Agent on the vm.

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.

-VDIHostPoolName

The VDI Host Pool name.

-SiteId

Site ID where the VDI Host Pool is located.

If the parameter is omitted, the site ID of the Licensing Server will be used.

-VDIHostPoolId

The VDI Host Pool ID.

-InputObject

An object of type VDIHostPool identifying the target VDI Host Pool.

The object is obtained using the Get-RASVDIHostPool cmdlet.

Type reference: VDIHostPool

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

VDIHostPool

OUTPUTS

None

Last updated