From d2b9fc09605ea6d5e0cfc413a85d637e7c302f29 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Wed, 5 Aug 2020 13:58:45 +0200 Subject: [PATCH] Updated XMLGenericPolicy --- Private/ConvertTo-XMLGenericPolicy.ps1 | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/Private/ConvertTo-XMLGenericPolicy.ps1 b/Private/ConvertTo-XMLGenericPolicy.ps1 index 07e79ff..46f1b24 100644 --- a/Private/ConvertTo-XMLGenericPolicy.ps1 +++ b/Private/ConvertTo-XMLGenericPolicy.ps1 @@ -17,7 +17,6 @@ function ConvertTo-XMLGenericPolicy { [Array] $Policies = foreach ($Cat in $Category) { $GPO.DataSet | Where-Object { $_.Category -like $Cat } } - #if ($GPO.DataSet.Category -like $Category) { if ($Policies.Count -gt 0) { foreach ($Policy in $Policies) { #if ($Policy.Category -notlike $Category) { @@ -87,26 +86,4 @@ function ConvertTo-XMLGenericPolicy { [PSCustomObject] $CreateGPO #} } -} - -<# ListBox - $Value -Name : Items to run at logon -State : Enabled -ExplicitValue : false -Additive : false -ValuePrefix : -Value : Value - -ListBox - $Value.Value - -Element -------- -Element - -ListBox - $Value.Value.Element - -Data ----- -C:\Program Files (x86)\NetPhone Client\NetPhone Client.exe - -#> \ No newline at end of file +} \ No newline at end of file