File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/ResourceManager/Resources/Commands.Resources/help Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,11 @@ Azure resource group is a collection of Azure resources that are deployed as a u
32
32
33
33
### Example 1: Create an empty resource group
34
34
```
35
- PS C:\>New-AzureRmResourceGroup -Name "RG01" -Location "South Central US"
35
+ PS> New-AzureRmResourceGroup -Name RG01 -Location "South Central US"
36
+ ```
37
+ or
38
+ ```
39
+ PS> New-AzureRmResourceGroup RG01 "South Central US"
36
40
```
37
41
38
42
This command creates a resource group that has no resources. You can use the
@@ -41,7 +45,7 @@ deployments to this resource group.
41
45
42
46
### Example 2: Create a resource group with tags
43
47
```
44
- PS C:\> New-AzureRmResourceGroup -Name " RG01" -Location "South Central US" -Tag @{" Empty" =$null; " Department" ="Marketing"}
48
+ PS> New-AzureRmResourceGroup -Name RG01 -Location "South Central US" -Tag @{Empty=$null; Department="Marketing"}
45
49
```
46
50
47
51
This command creates an empty resource group. This command is the same as the command in Example 1,
You can’t perform that action at this time.
0 commit comments