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>
[-SkipCertificateValidation]
[<CitrixCommonParameters>]
[<CommonParameters>]
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}
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 |
-SkipCertificateValidation
Forces the cmdlet to skip checking SSL certificates. By default, the cmdlet will check the certificate from the server. If the certificate is not valid, the cmdlet will not connect to the server.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
| Introduced in: | Citrix Virtual Apps and Desktop 7 2511 |
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
Returns true if the token is valid or false if the token is not valid.