Skip to content

Commit 777c28c

Browse files
authored
Merge pull request #3597 from jonathanmedd/Get-AzureRmAppServicePlan
Get-AzureRmAppServicePlan Help Examples
2 parents 8a1a6d5 + 8bffe5d commit 777c28c

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,16 @@
372372
</maml:alert>
373373
</maml:alertSet>
374374
<command:examples><command:example><maml:title>-------------------------- Example 1: Get an App Service plan --------------------------</maml:title>
375-
<dev:code>PS C:\&gt;Get-AzureRmAppServicePlan -Name "MyServicePlan" -ResourceGroupName "Default-Web-WestUS"</dev:code>
376-
<dev:remarks><maml:para>This command gets the App Service plan named MyServicePlan in the resource group named Default-Web-WestUS.
375+
<dev:code>PS C:\&gt;Get-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoASP"</dev:code>
376+
<dev:remarks><maml:para>This command gets the App Service plan named ContosoASP in the resource group named Default-Web-WestUS.
377+
</maml:para>
378+
<maml:para></maml:para>
379+
<maml:para></maml:para>
380+
</dev:remarks>
381+
</command:example>
382+
<command:example><maml:title>-------------------------- Example 2: Get all App Service plans in a location --------------------------</maml:title>
383+
<dev:code>PS C:\&gt;Get-AzureRmAppServicePlan -Location "West US"</dev:code>
384+
<dev:remarks><maml:para>This command gets all App Service plans located in the "West US" region.
377385
</maml:para>
378386
<maml:para></maml:para>
379387
<maml:para></maml:para>

src/ResourceManager/Websites/Commands.Websites/help/Get-AzureRmAppServicePlan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ The **Get-AzureRmAppServicePlan** cmdlet gets an Azure App Service plan in the s
2929

3030
### Example 1: Get an App Service plan from a resource group
3131
```
32-
PS C:\>Get-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoAppServPlan"
32+
PS C:\>Get-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoASP"
3333
```
3434

35-
This command gets the App Service plan named ContosoAppServPlan that belongs to the resource group named Default-Web-WestUS.
35+
This command gets the App Service plan named ContosoASP that belongs to the resource group named Default-Web-WestUS.
3636

3737
### Example 2: Get all App Service plans in a location
3838
```

0 commit comments

Comments
 (0)