From d2d6f974b4b676fd425b0b597335f557a49312c7 Mon Sep 17 00:00:00 2001 From: "Alexander (Sasha) Nosov" Date: Mon, 2 Jun 2025 12:30:59 -0700 Subject: [PATCH] Fixed spelling of ExtendedProperties.SubscriptionPolices in readmes --- .../modify-license-type/README.md | 4 ++-- .../manage/azure-hybrid-benefit/modify-license-type/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/manage/azure-arc-enabled-sql-server/modify-license-type/README.md b/samples/manage/azure-arc-enabled-sql-server/modify-license-type/README.md index 09fbc8dd..65b148e9 100644 --- a/samples/manage/azure-arc-enabled-sql-server/modify-license-type/README.md +++ b/samples/manage/azure-arc-enabled-sql-server/modify-license-type/README.md @@ -59,8 +59,8 @@ $tenantId = "" Get-AzSubscription -TenantId $tenantId | Where-Object { $sub = $_ $details = Get-AzSubscription -SubscriptionId $sub.Id -TenantId $tenantId - if ($details -and $details.ExtendedProperties -and $details.ExtendedProperties.SubscriptionPolicies) { - $quotaId = ($details.ExtendedProperties.SubscriptionPolicies | ConvertFrom-Json).quotaId + if ($details -and $details.ExtendedProperties -and $details.ExtendedProperties.SubscriptionPolices) { + $quotaId = ($details.ExtendedProperties.SubscriptionPolices | ConvertFrom-Json).quotaId return $quotaId -notmatch 'MSDN|DEV|VS|TEST' } return $false diff --git a/samples/manage/azure-hybrid-benefit/modify-license-type/README.md b/samples/manage/azure-hybrid-benefit/modify-license-type/README.md index 00ffd2ab..1d70cc79 100644 --- a/samples/manage/azure-hybrid-benefit/modify-license-type/README.md +++ b/samples/manage/azure-hybrid-benefit/modify-license-type/README.md @@ -80,8 +80,8 @@ $tenantId = "" Get-AzSubscription -TenantId $tenantId | Where-Object { $sub = $_ $details = Get-AzSubscription -SubscriptionId $sub.Id -TenantId $tenantId - if ($details -and $details.ExtendedProperties -and $details.ExtendedProperties.SubscriptionPolicies) { - $quotaId = ($details.ExtendedProperties.SubscriptionPolicies | ConvertFrom-Json).quotaId + if ($details -and $details.ExtendedProperties -and $details.ExtendedProperties.SubscriptionPolices) { + $quotaId = ($details.ExtendedProperties.SubscriptionPolices | ConvertFrom-Json).quotaId return $quotaId -notmatch 'MSDN|DEV|VS|TEST' } return $false