15 lines
1.1 KiB
PowerShell
15 lines
1.1 KiB
PowerShell
#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
|
|
|
|
#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
|
|
|
|
xcopy /-I /Y "\\SynCloud\Data\Resources\Firefox_Policies\windows\en-US\firefox.adml" \\Ema\c$\Windows\PolicyDefinitions\en-US\firefox.adml
|
|
xcopy /-I /Y "\\SynCloud\Data\Resources\Firefox_Policies\windows\en-US\mozilla.adml" \\Ema\c$\Windows\PolicyDefinitions\en-US\mozilla.adml |