Powershell script to set only a specific setting in Local Group Policy to 'Not Configured'

C

Chinthy

Powershell newbie here. I'm trying to automate a scenario where any particular setting in Local Group Policy can be set to 'Not Configured'. For example, I'm trying to set below setting to 'Not Configured'. Now by default this is already set to Not Configured so I would manually enable it first and try to run the Powershell script to reset it back to Not Configured.E.g: Path: Administrative Templates > Windows Components > Windows UpdatesSetting name: Specify intranet Micrsoft update service locationBelow is the script I'm currently testing but it doesn't quite reset it, the setting seem

Continue reading...
 
Back
Top Bottom