Forum Discussion
Amrit925
Jul 26, 2022Copper Contributor
PowerShell Script for Windows Server 2016 Group Policy Object
Hello All,
I am trying to write PS script for Windows Server 2016 GPO for managing Scheduled Shutdown for client machines so that all client machines shut down at a specific time from Computer Configuration. Not User Configuration.
I am trying but i am facing problems.
- Would you please post the script you tried and what kind of problem you faced?
- farismalaebSteel ContributorWould you please post the script you tried and what kind of problem you faced?
- Amrit925Copper Contributori am using bat. file /s /t 0
- Amrit925Copper ContributorThe one i am using is not executing the Group Policy even after gpupdate /force
- farismalaebSteel ContributorYou can check the following link.
http://woshub.com/diagnose-group-policies-issues-with-gpresult/
This link helps in checking why the GPO is not applied
usually this is because GPO filter via WMI filter or security filter.
You can also check windows event log for more info