This commit is contained in:
Przemyslaw Klys
2020-07-16 23:11:11 +02:00
parent 5d3370d546
commit 047576ff70
3 changed files with 4 additions and 20 deletions
+2 -18
View File
@@ -1,4 +1,4 @@
function Invoke-GPOTranslationOld {
function Invoke-GPOTranslation {
[cmdletBinding()]
param(
[System.Collections.IDictionary] $InputData,
@@ -12,20 +12,4 @@
return & $Script:GPODitionary[$Report]['Code']
}
}
}
function Invoke-GPOTranslation {
[cmdletBinding()]
param(
[Array] $InputData,
[string] $Report,
[string] $Category,
[string] $Settings
)
if ($Category -and $Settings -and $InputData) {
if ($Script:GPODitionary[$Report]['Code']) {
$Script:GPOList = $InputData
return & $Script:GPODitionary[$Report]['Code']
}
}
}
}