Because you get the file object at the end of the pipeline you could do whatever you want. Perhaps you want to delete the file. The del command is an alias for Remove-Item and one you are probably ...
By the power of Redmond!
If you want to delete or create a scheduled task on Windows 11/10 using Windows PowerShell, this tutorial will help you do that. You do not have to open Task Scheduler to create the scheduled task.