Add-DomeneshopForward¶
SYNOPSIS¶
Add an HTTP forward to a Domeneshop domain.
SYNTAX¶
__AllParameterSets¶
Add-DomeneshopForward [-DomainID] <int> [-Forward] <Object> [[-Context] <string>] [-WhatIf]
[-Confirm]
ALIASES¶
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION¶
Create an HTTP forward from the supplied Domeneshop API request object.
EXAMPLES¶
EXAMPLE 1¶
$forward = @{ host = 'www' ('URL'.ToLowerInvariant()) = 'HTTPS'.ToLowerInvariant() + '://example.net' } Add-DomeneshopForward -DomainID 42 -Forward $forward
Add a www forward to 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: 2
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 HTTP forward request object accepted by the Domeneshop API.
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
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 Add-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.