I had search around the internet and only found how to use Carbon module to edit Local Policy. But I need to edit Group Policy actually
Picture Want to do the same thing as the picture but using script (GPO)
Unfortunately, the short answer is still you can't .
Group policy objects are kind of a mess with:
\\domain.com\sysvol\policies\{GPO-GUID}\
\\domain.com\sysvol\policies\PolicyDefinitions\*.admx
\\domain.com\sysvol\policies\PolicyDefinitions\en-US\*.adml
Either use the group policy management mmc tool, or find the registry keys that correspond to the gpo settings you want, and change them via powershell.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.