Thank you Lonkero.
I had already adapted the WMI script. I will now test and integrate yours into my larger script. My users are too sensitive to 30 to 40 second delays (imho).