< Back

Save-DnsChallenge

Sat Jan 18, 2020 7:32 pm

NAME Save-DnsChallenge



SYNOPSIS

Commit previously published DNS challenges to the DNS server.





SYNTAX

Save-DnsChallenge [-Plugin] <String> [[-PluginArgs] <Hashtable>] [<CommonParameters>]





DESCRIPTION

Some DNS plugins don't make published DNS challenges live right away and require a save or commit step. This

function should be called once after running all of the Publish-DnsChallenge commands.



For DNS plugins that don't require a commit step, this function can still be run but does nothing.





PARAMETERS

-Plugin <String>

The name of the DNS plugin to use. Use Get-DnsPlugins to display a list of available plugins.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PluginArgs <Hashtable>

A hashtable containing the plugin arguments to use with the specified DnsPlugin list. So if a plugin has a

-MyText string and -MyNumber integer parameter, you could specify them as @{MyText='text';MyNumber=1234}.



Required? false

Position? 2

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:\\>Save-DnsChallenge Manual @{}



Commit changes using the Manual DNS plugin that requires no plugin arguments.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Save-DnsChallenge Flurbog @{FBServer='127.0.0.1';FBToken='abc123'}



Commit changes using the Flurbog DNS plugin that requires FBServer and FBToken arguments.











RELATED LINKS

Project: https://github.com/rmbolger/Posh-ACME

Publish-DnsChallenge

Unpublish-DnsChallenge

Get-DnsPlugins

Get-DnsPluginHelp