Skip to content

Commit 65500f0

Browse files
get drift
1 parent c7836c6 commit 65500f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/CIPPCore/Public/Get-CIPPDrift.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function Get-CIPPDrift {
277277
standardName = $PolicyKey
278278
standardDisplayName = "Intune - $TenantPolicyName"
279279
expectedValue = 'This policy only exists in the tenant, not in the template.'
280-
receivedValue = $TenantPolicy.Policy | Out-String
280+
receivedValue = $TenantPolicy.Policy
281281
state = 'current'
282282
Status = $Status
283283
}
@@ -307,7 +307,7 @@ function Get-CIPPDrift {
307307
standardName = $PolicyKey
308308
standardDisplayName = "Conditional Access - $($TenantCAPolicy.displayName)"
309309
expectedValue = 'This policy only exists in the tenant, not in the template.'
310-
receivedValue = $TenantCAPolicy | Out-String
310+
receivedValue = $TenantCAPolicy
311311
state = 'current'
312312
Status = $Status
313313
}

0 commit comments

Comments
 (0)