Skip to content

Commit

Permalink
Backticks not required here
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmestre committed Feb 8, 2024
1 parent 7f22867 commit 9de19f1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function Get-TargetResource
{
$getValue = Get-MgBetaDeviceManagementDeviceConfiguration `
-Filter "DisplayName eq '$DisplayName'" `
-ErrorAction SilentlyContinue | Where-Object -FilterScript { `
-ErrorAction SilentlyContinue | Where-Object -FilterScript {
$_.AdditionalProperties.'@odata.type' -eq '#microsoft.graph.windows10NetworkBoundaryConfiguration'
}
}
Expand Down Expand Up @@ -527,8 +527,8 @@ function Export-TargetResource
[array]$getValue = Get-MgBetaDeviceManagementDeviceConfiguration `
-All `
-ErrorAction Stop | Where-Object `
-FilterScript { `
$_.AdditionalProperties.'@odata.type' -eq '#microsoft.graph.windows10NetworkBoundaryConfiguration' `
-FilterScript {
$_.AdditionalProperties.'@odata.type' -eq '#microsoft.graph.windows10NetworkBoundaryConfiguration'
}
#endregion

Expand Down

0 comments on commit 9de19f1

Please sign in to comment.