mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-26 11:49:17 +00:00
Updated XMLGenericPolicy
This commit is contained in:
@@ -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
|
||||
|
||||
#>
|
||||
}
|
||||
Reference in New Issue
Block a user