Skip to content

Commit 72258f6

Browse files
Correct parameter to deploy Event Hub Namespace
A parameter cannot be found that matches parameter name 'NamespaceName'. [Reference](https://learn.microsoft.com/en-us/powershell/module/az.eventhub/new-azeventhubnamespace?view=azps-13.4.0)
1 parent ec43e37 commit 72258f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/event-hubs/event-hubs-quickstart-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Run the following command to create an Event Hubs namespace in the resource grou
4343

4444
```azurepowershell-interactive
4545
$namespaceName="myNamespace$(Get-Random)"
46-
New-AzEventHubNamespace -ResourceGroupName $rgName -NamespaceName $namespaceName -Location $region
46+
New-AzEventHubNamespace -ResourceGroupName $rgName -Name $namespaceName -Location $region
4747
```
4848

4949
You see the output similar to the following one. You see the name of the namespace in the `Name` field.

0 commit comments

Comments
 (0)