Create PolicyDefinitions Central Store if it doesn’t already exist using PowerShell
The below script will check if a central store already exists and if not will move your current PolicyDefinitions folder...
The below script will check if a central store already exists and if not will move your current PolicyDefinitions folder...
Basic bit of code to achieve this as below if ((gwmi win32_computersystem).partofdomain -eq $true) {write-host "Server is part of a...