Question:
I want to add a stop time (like 10m) for the PowerShell code as blow, is there has someone who knows how to change the code:
Start-Process -FilePath "notepad" -Wait -WindowStyle Maximized
Backgroud:
I want to use the intune PowerShell Script to run the PowerShell at the devices, but there has a limitation that PowerShell scripts time out after 30 minutes.
Thanks in advance.