Files
GPOZaurr/Private/Invoke-GPOTranslation.ps1
T
Przemyslaw Klys 047576ff70 Updates
2020-07-16 23:11:11 +02:00

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']
}
}
}