Remove-FasAuthorizationCertificate

SYNOPSIS

This command deletes a FAS Authorization Certificate and associated private key, or removes a pending certificate request

SYNTAX

Remove-FasAuthorizationCertificate -Id <String> [-DeleteUserCerts <Boolean>] [-Address <String>]
 [-UserName <String>] [-Password <String>] [<CommonParameters>]
<!--NeedCopy-->

DESCRIPTION

This command deletes a FAS Authorization Certificate and associated private key, or removes a pending certificate request. Note that this may affect the operation of the FAS server.

EXAMPLES

EXAMPLE 1

PS C:\>

C:\PS> $CitrixFasAddress=(Get-FasServer)[0].Address
C:\PS> Remove-FasAuthorizationCertificate -Id (Get-FasAuthorizationCertificate)[0].Id
<!--NeedCopy-->

Description


This code lists the Authorization certificates on a FAS server and deletes the first one in the list.

PARAMETERS

-Id

ID of the Authorization Certificate to delete

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: (required)
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-DeleteUserCerts

Flag to indicate if the user certificates should also be deleted

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $TRUE
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-UserName

User name to use for authentication to FAS server ($NULL for current user account)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $NULL
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-Password

Password for authentication to FAS server ($NULL for current user account)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $NULL
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-Address

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

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

Variable, based on property name.

This cmdlet does accept input from the pipeline but only by property name.

OUTPUTS

void

This cmdlet does not return a value

NOTES

New-FasAuthorizationCertificate

Get-FasAuthorizationCertificate

Remove-FasAuthorizationCertificate