Skip to content

Commit

Permalink
Update Export-EndpointSecurityTemplates.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolonsky authored Mar 8, 2022
1 parent 8737694 commit 94c410f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EndpointSecurity/Export-EndpointSecurityTemplates.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function Export-EndpointSecurityConfiguration {
"templateId" = $template.templateId
"displayName" = $template.displayName
"description" = $template.description
"settingsDelta" = @($config.value | Where-Object { $null -ne $_.value })
"settingsDelta" = @($config.value)
}

return $output | ConvertTo-Json -Depth 5
Expand Down Expand Up @@ -116,4 +116,4 @@ foreach ($template in $templates) {
Set-Content -Path $filePath -Value $json -Force
}

Write-Output "Done"
Write-Output "Done"

0 comments on commit 94c410f

Please sign in to comment.