mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-18 14:33:11 +00:00
15 lines
451 B
PowerShell
15 lines
451 B
PowerShell
function Invoke-GPOTranslation {
|
|
[cmdletBinding()]
|
|
param(
|
|
[System.Collections.IDictionary] $InputData,
|
|
[string] $Report,
|
|
[string] $Category,
|
|
[string] $Settings
|
|
)
|
|
if ($Category -and $Settings -and $InputData) {
|
|
if ($Script:GPODitionary[$Report]['Code']) {
|
|
$Script:GPOList = $InputData.$Category.$Settings
|
|
return & $Script:GPODitionary[$Report]['Code']
|
|
}
|
|
}
|
|
} |