I am using the solution on a tool and it works fine. See: https://github.com/BananaAcid/Update-Wallpaper/blob/main/Update-Wallpaper.ps1#L230 ... using `conhost.exe --headless` as process referring to this: Register-Task,psm1 https://github.com/patrix87/PowerShellGSM/blob/main/functions/util/Register-Task.psm1#L2
I am using the solution on a tool and it works fine.
See: https://github.com/BananaAcid/Update-Wallpaper/blob/main/Update-Wallpaper.ps1#L230
... using
conhost.exe --headlessas processreferring to this: Register-Task,psm1
https://github.com/patrix87/PowerShellGSM/blob/main/functions/util/Register-Task.psm1#L2