Skip to content

Remove-DomeneshopDnsRecord

SYNOPSIS

Remove a DNS record from a Domeneshop domain.

SYNTAX

__AllParameterSets

Remove-DomeneshopDnsRecord [-DomainID] <int> [-RecordID] <int> [[-Context] <string>] [-WhatIf]
 [-Confirm]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Permanently delete a DNS record by its domain and record identifiers.

EXAMPLES

EXAMPLE 1

Remove-DomeneshopDnsRecord -DomainID 42 -RecordID 7

Remove DNS record 7 from domain 42 after confirmation.

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 record.

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: ''

-RecordID

The numeric identifier of the DNS record to remove.

Type: System.Int32
DefaultValue: 0
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 Remove-DomeneshopDnsRecord.

{{ 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.