Skip to content

Commit 76c48fe

Browse files
committed
Fix schema errors in markdown files
1 parent 820b772 commit 76c48fe

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

src/ResourceManager/Resources/Commands.Resources/help/New-AzureRmResource.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ The **New-AzureRmResource** cmdlet creates an Azure resource, such as a website,
4444
```
4545
PS> New-AzureRmResource -Location "West US" -Properties @{test="test"} -ResourceName TestSite06 -ResourceType microsoft.web/sites -ResourceGroupName ResourceGroup11 -Force
4646
```
47-
or
47+
48+
This command creates a resource that is a website in ResourceGroup11.
49+
50+
### Example 2: Create a resource using splatting
4851
```
4952
PS> $prop = @{
5053
Location = "West US"

src/ResourceManager/Resources/Commands.Resources/help/New-AzureRmResourceGroup.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,19 @@ Azure resource group is a collection of Azure resources that are deployed as a u
3434
```
3535
PS> New-AzureRmResourceGroup -Name RG01 -Location "South Central US"
3636
```
37-
or
38-
```
39-
PS> New-AzureRmResourceGroup RG01 "South Central US"
40-
```
4137

4238
This command creates a resource group that has no resources. You can use the
4339
**New-AzureRmResource** or **New-AzureRmResourceGroupDeployment** cmdlets to add resources and
4440
deployments to this resource group.
4541

46-
### Example 2: Create a resource group with tags
42+
### Example 2: Create an empty resource group using positional parameters
43+
```
44+
PS> New-AzureRmResourceGroup RG01 "South Central US"
45+
```
46+
47+
This command creates a resource group that has no resources.
48+
49+
### Example 3: Create a resource group with tags
4750
```
4851
PS> New-AzureRmResourceGroup -Name RG01 -Location "South Central US" -Tag @{Empty=$null; Department="Marketing"}
4952
```

0 commit comments

Comments
 (0)