external help file | ms.assetid | online version | schema |
---|---|---|---|
Microsoft.WindowsAzure.Commands.dll-Help.xml |
0DF54C9D-7A19-4591-A1FC-33C6A4C9BF33 |
2.0.0 |
Tests whether a Microsoft Azure cloud service name, storage service name or service bus namespace name exists or not.
[!INCLUDE rdfe-banner]
Test-AzureName [-Service] -Name <String> [-Profile <AzureSMProfile>] [<CommonParameters>]
Test-AzureName [-Storage] -Name <String> [-Profile <AzureSMProfile>] [<CommonParameters>]
Test-AzureName [-ServiceBusNamespace] -Name <String> [-Profile <AzureSMProfile>] [<CommonParameters>]
Test-AzureName [-Website] -Name <String> [-Profile <AzureSMProfile>] [<CommonParameters>]
If the name exists, the cmdlet returns $True. If the name does not exist, it returns $False.
PS C:\> Test-AzureName -Service "MyNameService1"
This command tests to see if the "MyNameService1" is an existing Microsoft Azure cloud service name.
PS C:\> Test-AzureName -Storage "mystorename1"
This command tests to see if the "mystorename1" is an existing Microsoft Azure storage service name.
PS C:\> Test-AzureName -ServiceBusNamespace "mynamespace"
This command tests to see if the "mynamespace" is an existing Microsoft Azure service bus namespace name.
Specifies the name of the service or storage account to test.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Type: AzureSMProfile
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies to test for an existing service account.
Type: SwitchParameter
Parameter Sets: Service
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies to test for an existing service bus namespace.
Type: SwitchParameter
Parameter Sets: ServiceBusNamespace
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies to test for an existing storage account.
Type: SwitchParameter
Parameter Sets: Storage
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies to test for an existing website.
Type: SwitchParameter
Parameter Sets: Website
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
- node-dev, php-dev, python-dev