Get Action Command Line from Scheduled Task using PowerShell
By Johan Arwidmark / September 10, 2023This week I had to find out the command line of a scheduled task from a few hundred machines, to make sure they had received the correct task, deployed from a Group Policy. Well, PowerShell to the rescue. Here is a small PowerShell snippet that will return the command line from a give task: Below […]