< Back
Remove-PAServer
Post
NAME Remove-PAServer
SYNOPSIS
Remove an ACME server and all associated accounts, orders, and certificates from the local profile.
SYNTAX
Remove-PAServer [-DirectoryUrl] <String> [-DeactivateAccounts] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This function removes the ACME server from the local profile which also removes any associated accounts, orders
and certificates. It will not remove or cleanup copies of certificates that have been exported or installed
elsewhere. It will not revoke any certificates that are still valid. It will not deactivate the accounts on the
ACME server unless the -DeactivateAccounts switch is specified.
PARAMETERS
-DirectoryUrl <String>
Either the URL to an ACME server's "directory" endpoint or one of the supported short names. Currently
supported short names include LE_PROD (LetsEncrypt Production v2) and LE_STAGE (LetsEncrypt Staging v2).
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DeactivateAccounts [<SwitchParameter>]
If specified, an attempt will be made to deactivate the accounts in this profile before deletion. Clients may
wish to do this if the account key is compromised or being decommissioned.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
If specified, interactive confirmation prompts will be skipped.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-PAAccount LE_STAGE
Remove the staging server without deactivating accounts.
RELATED LINKS
Project: https://github.com/rmbolger/Posh-ACME
Get-PAServer
Set-PAServer
SYNOPSIS
Remove an ACME server and all associated accounts, orders, and certificates from the local profile.
SYNTAX
Remove-PAServer [-DirectoryUrl] <String> [-DeactivateAccounts] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This function removes the ACME server from the local profile which also removes any associated accounts, orders
and certificates. It will not remove or cleanup copies of certificates that have been exported or installed
elsewhere. It will not revoke any certificates that are still valid. It will not deactivate the accounts on the
ACME server unless the -DeactivateAccounts switch is specified.
PARAMETERS
-DirectoryUrl <String>
Either the URL to an ACME server's "directory" endpoint or one of the supported short names. Currently
supported short names include LE_PROD (LetsEncrypt Production v2) and LE_STAGE (LetsEncrypt Staging v2).
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DeactivateAccounts [<SwitchParameter>]
If specified, an attempt will be made to deactivate the accounts in this profile before deletion. Clients may
wish to do this if the account key is compromised or being decommissioned.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
If specified, interactive confirmation prompts will be skipped.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-PAAccount LE_STAGE
Remove the staging server without deactivating accounts.
RELATED LINKS
Project: https://github.com/rmbolger/Posh-ACME
Get-PAServer
Set-PAServer