File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
src/ResourceManager/Websites/Commands.Websites Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 372
372
</maml : alert >
373
373
</maml : alertSet >
374
374
<command : examples ><command : example ><maml : title >-------------------------- Example 1: Get an App Service plan --------------------------</maml : title >
375
- <dev : code >PS C:\> 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:\> 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:\> 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.
377
385
</maml : para >
378
386
<maml : para ></maml : para >
379
387
<maml : para ></maml : para >
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ The **Get-AzureRmAppServicePlan** cmdlet gets an Azure App Service plan in the s
29
29
30
30
### Example 1: Get an App Service plan from a resource group
31
31
```
32
- PS C:\>Get-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoAppServPlan "
32
+ PS C:\>Get-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoASP "
33
33
```
34
34
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.
36
36
37
37
### Example 2: Get all App Service plans in a location
38
38
```
You can’t perform that action at this time.
0 commit comments