Skip to content

Commit 97af279

Browse files
authored
Merge pull request #571 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents c277aa5 + ac3d8d9 commit 97af279

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Modules/CIPPCore/Public/Compare-CIPPIntuneObject.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ function Compare-CIPPIntuneObject {
2828
'qualityUpdatesWillBeRolledBack',
2929
'qualityUpdatesPauseStartDate',
3030
'featureUpdatesPauseStartDate'
31+
'wslDistributions',
32+
'lastSuccessfulSyncDateTime'
3133
)
3234

3335
$excludeProps = $defaultExcludeProperties + $ExcludeProperties

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Endpoint/MEM/Invoke-ListIntuneTemplates.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Invoke-ListIntuneTemplates {
5656
value = $package
5757
type = 'tag'
5858
templateCount = ($RawTemplates | Where-Object { $_.Package -eq $package }).Count
59-
templates = ($RawTemplates | Where-Object { $_.Package -eq $package } | ForEach-Object {
59+
templates = @($RawTemplates | Where-Object { $_.Package -eq $package } | ForEach-Object {
6060
try {
6161
$JSONData = $_.JSON | ConvertFrom-Json -Depth 100 -ErrorAction SilentlyContinue
6262
$data = $JSONData.RAWJson | ConvertFrom-Json -Depth 100 -ErrorAction SilentlyContinue

0 commit comments

Comments
 (0)