We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc1d55c + 7ca41ce commit 90884e8Copy full SHA for 90884e8
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListStandardsCompare.ps1
@@ -25,10 +25,14 @@ Function Invoke-ListStandardsCompare {
25
} else {
26
$_.Value = [string]$_.Value
27
}
28
- $object | Add-Member -MemberType NoteProperty -Name $_.Name.Replace('standards_', 'standards.') -Value $_.Value -Force
+
29
+ $Key = $_.Name.replace('standards_', 'standards.')
30
+ $Key = $Key.replace('IntuneTemplate_', 'IntuneTemplate.')
31
+ $Key = $Key -replace '__', '-'
32
33
+ $object | Add-Member -MemberType NoteProperty -Name $Key -Value $_.Value -Force
34
$object.PSObject.Properties.Remove($_.Name)
35
-
36
37
38
0 commit comments