I am trying to run a command in windows powershell that will start a task schedule. Below is the command that I am using:
Start-ScheduledTask -TaskName "pkms task scheduler"
The powershell can run the task and the batch files from the scheduler but I do not know what is the problem why the Firefox window is not appearing even though the browser is running in the background.
Here is the code for the batch file:
@echo off cls start "" /d "C:\Kiosk Advertisement" firefox.exe.lnk exit
Hope that you can help me. Comment if you need more information
I did try to put "/max" beside the start command but the window is still not appearing.