From 91ff9da014596f15c916ea02786d29f101f97ded Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Fri, 16 Dec 2022 17:28:30 +0100 Subject: [PATCH] Hopefully fixes #38 --- Private/Script.GPODictionary.ps1 | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Private/Script.GPODictionary.ps1 b/Private/Script.GPODictionary.ps1 index a9e6f1b..e440b16 100644 --- a/Private/Script.GPODictionary.ps1 +++ b/Private/Script.GPODictionary.ps1 @@ -380,6 +380,23 @@ ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'FSLogix' -SingleObject } } + Firefox = @{ + Types = @( + @{ + Category = 'RegistrySettings' + Settings = 'Policy' + } + ) + GPOPath = @( + 'Policies -> Administrative Templates -> Mozilla -> Firefox' + ) + Code = { + ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'Mozilla\Firefox*' + } + CodeSingle = { + ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'Mozilla\Firefox*' -SingleObject + } + } GoogleChrome = @{ Types = @( @{ @@ -393,10 +410,10 @@ 'Policies -> Administrative Templates -> Google Chrome - Default Settings (users can override)' ) Code = { - ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'Google Chrome', 'Google/Google Chrome', 'Google Chrome - Default Settings (users can override)' + ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'Google Chrome*', 'Google/Google Chrome*', 'Google Chrome - Default Settings (users can override)' } CodeSingle = { - ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'Google Chrome', 'Google/Google Chrome', 'Google Chrome - Default Settings (users can override)' -SingleObject + ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'Google Chrome*', 'Google/Google Chrome*', 'Google Chrome - Default Settings (users can override)' -SingleObject } } GroupPolicy = @{