Citrix Virtual Apps and Desktops SDK

Remove-TrustVdaEnrollmentToken

This cmdlet will delete the specified VDA enrollment token.

Syntax

Remove-TrustVdaEnrollmentToken
      [-InputObject] <VdaEnrollmentToken[]>
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->
Remove-TrustVdaEnrollmentToken
      [-Id] <Guid[]>
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->
Remove-TrustVdaEnrollmentToken
      [-TokenName] <String[]>
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

This cmdlet will delete the specified VDA enrollment token metadata from the database making the token useless.

Examples

EXAMPLE 1

Deletes the VDA enrollment token metadata with an ID of 00f1f4e4-ce0c-4255-ae81-17d631d23eb7.

Remove-TrustVdaEnrollmentToken -Id 00f1f4e4-ce0c-4255-ae81-17d631d23eb7
<!--NeedCopy-->

Parameters

-InputObject

Specifies the VDA enrollment token meta data objects to delete

Type: VdaEnrollmentToken[]
Position: 2
Default value: None
Required: True
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Id

The JWT token ID of the VDA enrollment token to delete.

Type: Guid[]
Position: 2
Default value: None
Required: True
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-TokenName

The TokenName of the VDA enrollment token to delete.

Type: String[]
Position: 2
Default value: None
Required: True
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-LoggingId

Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

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

None

You can’t pipe objects to this cmdlet.

Outputs

None

By default, this cmdlet returns no output.

Remove-TrustVdaEnrollmentToken