Created
December 19, 2016 08:49
-
-
Save dazfuller/ccbe8f7c6ba77a8e51c3ca4f4e5e5b75 to your computer and use it in GitHub Desktop.
Retrieves and outputs the details of the Azure Application Service plans under the current subscription
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$AppServicePlans = Get-AzureRmAppServicePlan | |
$AppServicePlans | Sort-Object ResourceGroup, Name | Select-Object -Property ` | |
ResourceGroup, | |
Name, | |
Location, | |
@{ name = "SkuName"; expression = { $_.Sku.Name } }, | |
@{ name = "SkuSize"; expression = { $_.Sku.Size } }, | |
@{ name = "SkuTier"; expression = { $_.Sku.Tier } }, | |
NumberOfSites, | |
PerSiteScaling, | |
Status | ` | |
ConvertTo-Csv -NoTypeInformation | | |
Out-File -FilePath C:\AzureAppServices.csv -Encoding utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment