Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1686

@WMI not working inside POWERMONITOR

$
0
0
I have a script which gives the start times of a few services and processes. It's meant to be called when the monitor is turned on (1) or off (0).

Without POWERMONITOR it works OK.

Code:
v:\> monitoron.btm 0
Monitor OFF:           2024-11-03 16:00:09.352

v:\> monitoron.btm 1
Monitor ON:            2024-11-03 16:00:11.344
AppXSvc started:       2024-11-03 15:56:30.121
WaaSMedicSvc started:  2024-10-31 00:50:43.538
RuntimeBroker started: 2024-11-03 15:56:30.077

@WMI fails when I run the...

Read more

Viewing all articles
Browse latest Browse all 1686

Trending Articles