Update setupFirefox.ps1

admx template prep
This commit is contained in:
Upgrayedd 2024-08-17 16:29:26 -05:00
parent 00b00c49ca
commit cd12562ee5

View file

@ -1,3 +1,12 @@
#get the msi, put it where it can be seen #get the msi, put it where it can be seen
Start-BitsTransfer "https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=en-US" \\SynCloud\Data\Resources\Firefox.msi Start-BitsTransfer "https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=en-US" \\SynCloud\Data\Resources\Firefox.msi
#get admx templates
Start-BitsTransfer "https://github.com/mozilla/policy-templates/releases/download/v6.1/policy_templates_v6.1.zip" \\SynCloud\Data\Resources\Firefox_Policies.zip
#unzip to the poicyDefinitions folder
Expand-Archive "\\SynCloud\Data\Resources\Firefox_Policies.zip" \\SynCloud\Data\Resources\Firefox_Policies
#put it on the DC for GPO creation, prolly a loop thru DCs if multiple
xcopy /-I /Y "\\SynCloud\Data\Resources\Firefox_Policies\windows\firefox.admx" \\Ema\c$\Windows\PolicyDefinitions\firefox.admx
xcopy /-I /Y "\\SynCloud\Data\Resources\Firefox_Policies\windows\mozilla.admx" \\Ema\c$\Windows\PolicyDefinitions\mozilla.admx