< Back

Remove-AzureRmNotificationHubsNamespace

Tue Jan 29, 2019 9:59 pm

NAME Remove-AzureRmNotificationHubsNamespace



SYNOPSIS

Removes a notification hub namespace.





SYNTAX

Remove-AzureRmNotificationHubsNamespace [-ResourceGroup] <String> [-Namespace] <String> [-DefaultProfile <IAzureContextContainer>] [-Force]

[-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmNotificationHubsNamespace cmdlet removes a notification hub namespace from your deployment.



Namespaces are logical containers that help you organize and manage your notification hubs. The Remove-AzureRmNotificationHubsNamespace cmdlet

removes a notification hub namespace from your deployment. When you run this cmdlet, the specified namespace will be deleted along with all the

notification hubs associated with that namespace.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Do not ask for confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Namespace <String>

Specifies the namespace that this cmdlet removes. Namespaces provide a way to group and categorize notification hubs.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroup <String>

Specifies the resource group to which the namespace is assigned. Resource groups organize items such as namespaces, notification hubs, and

authorization rules in ways that help simply inventory management and Azure administration.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS



NOTES









Example 1: Remove a notification hub namespace



PS C:\\>Remove-AzureRmNotificationHubsNamespace -Namespace "ContosoNamespace" -ResourceGroup "ContosoNotificationsGroup"



This command removes the namespace named ContosoNamespace. You must specify the resource group the namespace is assigned to.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... snamespace

Get-AzureRmNotificationHubsNamespace

New-AzureRmNotificationHubsNamespace

Set-AzureRmNotificationHubsNamespace