From 8da0c1793de001ab7027306680338c62d179ce5b Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Mon, 25 Jan 2021 21:23:19 +0100 Subject: [PATCH] Added WindowsTimeService #6 --- Private/Script.GPODictionary.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Private/Script.GPODictionary.ps1 b/Private/Script.GPODictionary.ps1 index 147a08f..175b413 100644 --- a/Private/Script.GPODictionary.ps1 +++ b/Private/Script.GPODictionary.ps1 @@ -1252,6 +1252,21 @@ ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'Windows Components/Windows Remote Management (WinRM)*' -SingleObject } } + WindowsTimeService = @{ + Types = @( + @{ + Category = 'RegistrySettings' + Settings = 'Policy' + } + ) + GPOPath = 'Policies -> Administrative Templates -> System/Windows Time Service' + Code = { + ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'System/Windows Time Service*' + } + CodeSingle = { + ConvertTo-XMLGenericPolicy -GPO $GPO -Category 'System/Windows Time Service*' -SingleObject + } + } WindowsUpdate = @{ Types = @( @{