< Back
Remove-CFDnsRecord
Post
NAME Remove-CFDnsRecord
SYNOPSIS
Removes a specified DNS records.
SYNTAX
Remove-CFDnsRecord [-Id] <String> [<CommonParameters>]
DESCRIPTION
Removes a specified DNS records.
PARAMETERS
-Id <String>
DNS record ID
Required? true
Position? 0
Default value None
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
None
OUTPUTS
System.Object
NOTES
Example 1
PS C:\\> Remove-CFDnsRecord -Id 123abc4567890def
Removes the DNS record with the Id `123abc4567890def`
Example 2
PS C:\\> $x = Get-CFDnsRecord | Where-Object {$_.name -like 'autodiscover.*'} | Select-Object -ExpandProperty id
PS C:\\> Remove-CFDnsRecord $x
Removes the DNS record with the name that starts with `autodiscover.`
RELATED LINKS
SYNOPSIS
Removes a specified DNS records.
SYNTAX
Remove-CFDnsRecord [-Id] <String> [<CommonParameters>]
DESCRIPTION
Removes a specified DNS records.
PARAMETERS
-Id <String>
DNS record ID
Required? true
Position? 0
Default value None
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
None
OUTPUTS
System.Object
NOTES
Example 1
PS C:\\> Remove-CFDnsRecord -Id 123abc4567890def
Removes the DNS record with the Id `123abc4567890def`
Example 2
PS C:\\> $x = Get-CFDnsRecord | Where-Object {$_.name -like 'autodiscover.*'} | Select-Object -ExpandProperty id
PS C:\\> Remove-CFDnsRecord $x
Removes the DNS record with the name that starts with `autodiscover.`
RELATED LINKS