< Back
Remove-AzureDns
Post
NAME Remove-AzureDns
SYNOPSIS
Removes a DNS server from an Azure service.
SYNTAX
Remove-AzureDns [-Name] <String> [-ServiceName] <String> [[-Force]] [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureDns cmdlet removes a DNS server from an Azure service.
PARAMETERS
-Name <String>
Specifies the name of the DNS server that this cmdlet removes.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ServiceName <String>
Specifies the name of the service from which this cmdlet removes a DNS server.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Forces the command to run without asking for user confirmation.
Required? false
Position? 2
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
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
OUTPUTS
Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext
NOTES
-------------------------- Example 1: Remove a DNS server from a service --------------------------
PS C:\\>Remove-AzureDns -ServiceName "ContosoService" -Name "Dns07"
This command removes the DNS server named Dns07 from ContosoService.
RELATED LINKS
Add-AzureDns
Get-AzureDns
New-AzureDns
Set-AzureDns
SYNOPSIS
Removes a DNS server from an Azure service.
SYNTAX
Remove-AzureDns [-Name] <String> [-ServiceName] <String> [[-Force]] [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureDns cmdlet removes a DNS server from an Azure service.
PARAMETERS
-Name <String>
Specifies the name of the DNS server that this cmdlet removes.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ServiceName <String>
Specifies the name of the service from which this cmdlet removes a DNS server.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Forces the command to run without asking for user confirmation.
Required? false
Position? 2
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
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
OUTPUTS
Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext
NOTES
-------------------------- Example 1: Remove a DNS server from a service --------------------------
PS C:\\>Remove-AzureDns -ServiceName "ContosoService" -Name "Dns07"
This command removes the DNS server named Dns07 from ContosoService.
RELATED LINKS
Add-AzureDns
Get-AzureDns
New-AzureDns
Set-AzureDns