From fb5c18f7a198ebb2c2154657c5776d930cdd6194 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Wed, 13 Sep 2023 19:08:01 +0200 Subject: [PATCH] Added casing to provider namespace --- utilities/tools/helper/Get-SpecsAlignedResourceName.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utilities/tools/helper/Get-SpecsAlignedResourceName.ps1 b/utilities/tools/helper/Get-SpecsAlignedResourceName.ps1 index 7cfab64e1d..112abef63b 100644 --- a/utilities/tools/helper/Get-SpecsAlignedResourceName.ps1 +++ b/utilities/tools/helper/Get-SpecsAlignedResourceName.ps1 @@ -117,6 +117,9 @@ function Get-SpecsAlignedResourceName { } } + # Format provider namespace as some are inconsistely formatted + $providerNamespace = (Get-Culture -Name 'en-US').TextInfo.ToTitleCase($providerNamespace) + # Build result return "$providerNamespace/$resourceType" }