mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-30 12:09:28 +00:00
19 lines
613 B
PowerShell
19 lines
613 B
PowerShell
function Export-GPOZaurr {
|
|
[cmdletBinding()]
|
|
param(
|
|
|
|
)
|
|
$Output = [ordered] @{}
|
|
foreach ($T in $Script:GPOConfiguration.Keys) {
|
|
if ($Script:GPOConfiguration[$T].Enabled -eq $true) {
|
|
$Output[$T] = [ordered]@{
|
|
Action = $Script:GPOConfiguration[$T].Action
|
|
Data = $Script:GPOConfiguration[$T].Data
|
|
Name = $Script:GPOConfiguration[$T].Name
|
|
Summary = $Script:GPOConfiguration[$T].Summary
|
|
Variables = $Script:GPOConfiguration[$T].Variables
|
|
}
|
|
}
|
|
}
|
|
$Output
|
|
} |