Set-DomeneshopForward¶
SYNOPSIS¶
Update an HTTP forward on a Domeneshop domain.
SYNTAX¶
__AllParameterSets¶
Set-DomeneshopForward [-DomainID] <int> [-ForwardHost] <string> [-Forward] <Object>
[[-Context] <string>] [-WhatIf] [-Confirm]
ALIASES¶
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION¶
Replace an HTTP forward with the supplied Domeneshop API request object.
EXAMPLES¶
EXAMPLE 1¶
$forward = @{ host = 'www' ('URL'.ToLowerInvariant()) = 'HTTPS'.ToLowerInvariant() + '://example.org' } Set-DomeneshopForward -DomainID 42 -ForwardHost 'www' -Forward $forward
Update the www forward on domain 42.
PARAMETERS¶
-Confirm¶
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Context¶
The stored credential context to use instead of the default.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 3
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-DomainID¶
The numeric identifier of the domain that owns the forward.
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Forward¶
The replacement HTTP forward accepted by the Domeneshop API.
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-ForwardHost¶
The hostname of the HTTP forward to update.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Host
ParameterSets:
- Name: (All)
Position: 1
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-WhatIf¶
Runs the command in a mode that only reports what would happen without performing the actions.
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
None¶
You can't pipe objects to Set-DomeneshopForward.
{{ Fill in the Description }}
OUTPUTS¶
System.Object¶
The response returned by the Domeneshop API.
{{ Fill in the Description }}
System.Object¶
{{ Fill in the Description }}
NOTES¶
Uses the default context when Context is omitted.