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 56cc68e commit a099e6bCopy full SHA for a099e6b
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Endpoint/MEM/Invoke-ListIntuneTemplates.ps1
@@ -56,7 +56,7 @@ function Invoke-ListIntuneTemplates {
56
value = $package
57
type = 'tag'
58
templateCount = ($RawTemplates | Where-Object { $_.Package -eq $package }).Count
59
- templates = ($RawTemplates | Where-Object { $_.Package -eq $package } | ForEach-Object {
+ templates = @($RawTemplates | Where-Object { $_.Package -eq $package } | ForEach-Object {
60
try {
61
$JSONData = $_.JSON | ConvertFrom-Json -Depth 100 -ErrorAction SilentlyContinue
62
$data = $JSONData.RAWJson | ConvertFrom-Json -Depth 100 -ErrorAction SilentlyContinue
0 commit comments