Citrix Virtual Apps and Desktops SDK

Confirm-TrustVdaEnrollmentToken

Introduced in: Citrix Virtual Apps and Desktop 7 2308

This cmdlet will validate or confirm that the provided VDA enrollment token is valid.

Syntax

Confirm-TrustVdaEnrollmentToken
       [-Token] <String>
       [<CitrixCommonParameters>]
       [<CommonParameters>]
<!--NeedCopy-->

Description

If the token is valid it will assume the token is being used and therefore it will increment the total number of times the token was used to add a machine by one and update the last used date.

Examples

EXAMPLE 1

Determines if the provided VDA enrollment JWT token is valid.

Confirm-TrustVdaEnrollmentToken -Token {your vda token here}
<!--NeedCopy-->

Parameters

-Token

The JWT token that delegates the ability to enroll VDA machines with a particular machine catalog.

Type: String
Position: 1
Default value: None
Required: True
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

Boolean

Returns true if the token is valid or false if the token is not valid.

Confirm-TrustVdaEnrollmentToken