0
votes
0answers
149 views

Unable to get loadpercentage WMIC remotely

I want to get CPU charge using winexe (Debian execute winexe to a Windows Server 2003) When i try locally this commande: wmic cpu get loadpercentage it work. But, from my Debian when i try this ...
0
votes
1answer
114 views

How can I get Control Panel's Add/Remove programs list?

Ho can I obtain/export the Windows Control Panel Add/Remove programs list using WMI or VB script?
4
votes
3answers
432 views

How to detect current media type in CLI under Windows? (DVD-RW, BD-R, etc)

How to detect current media type in CLI under Windows? (DVD-RW, BD-R, etc) I've tried with wmic cdrom get /format:list but no info about the current media type. I want to detect if the disc is a CD, ...
0
votes
1answer
370 views

How can I use WMIC to add an user to the administrator of a remote computer?

Does anyone know of a way (other than psexec) to add a user to the local administrators group of a remote machine? I'm having trouble figuring out the syntax for wmic.
0
votes
1answer
306 views

wmic change default output format(get only process executable path)

Using wmic to get information about process. wmic process where processid="<PID>" gives many details (Caption, creationtime, arguments, ExecutablePath etc) . Right now I am processing the ...
0
votes
1answer
305 views

Limit on WMIC requests from a Windows Service

Does anyone know if there is limit on how many wmic requests Windows can handle simultaneously if they are originating from a Windows service? The reason I'm asking is because my application fails ...
1
vote
3answers
3k views

Getting Windows EventViewer CSV file from Command-line

EventViewer in Windows has the ability to export a log to a CSV file. I would like to automatically make a backup of that log in that format (as has been done manually in the past few years). It's a ...
0
votes
3answers
2k views

How to shutdown remote Win2k8 machine using WMIC?

What is the exact syntax to shutdown remote Win2k8 server using WMIC? (The reason WMIC must be used is because the remote machine in a different NT Domain and the local machine does not have access ...
1
vote
2answers
3k views

WMIC returns error when querying product

I'm trying to automate the installation of an MSI on my server, however before the installation can go ahead I need to uninstall the previous version from the server. Searching on the internet I've ...