I made an OU called test under domain comptuers and moved my computer there. I mapped a gp policy called testShutdownScript to the OU and editted it so that it applied to domain computers. I went under computer configuration>policies>windows settings>scripts>shutdown and added my script that is as follows:
cd "c:\" echo "Test" > test.txt exitI ran gpupdate on my pc and shut it down. The text file never generated leading me to believe the script never ran. How can I be sure it didnt run and is there something I missed in setting up the policy?