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.
1 parent 4d8d0f2 commit 14d455fCopy full SHA for 14d455f
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