I am trying to use Win32::OLE to create a task on a Windows 10 system, something similar to SetDefaultPrinterFromSSD.ps1. I tried to manually validate the query by creating the same task by hand in the task scheduler GUI, and that seemed to work. Here's my test code: use File::Basename; use [...] read more