I have created a powershell script I would like run at shutdown, and when I add it using gpedit.msc it executes exactly the way I would like.
However, I want to move it from C:\xyz.ps1
to C:\Program Files\abc\xyz.ps1
, and when I do so it silently fails - what am I doing wrong?