Unlimited runtime for consim.exe via PowerShell script
2 posts · Closed
Hello,
I'm trying to create a PowerShell script to start the Connection Emulator, but I would like the runtime to be unlimited so I just have to run the script at logon. Here is the command I have:
consim.exe /runtime:120 c:\Scripts\150mslat.xml
Any ideas?
Thanks,
Raul
Simply specify a value of zero, e.g:
consim.exe /runtime:0 c:\Scripts\150mslat.xml
It will then run indefinitely until the system shuts down or the user logs off.