wmic Questions
9
Solved
I am trying to view the user privileges using the command prompt in Windows.
User account & User privileges such as:
SeBatchLogonRight
SeDenyBatchLogonRight
SeInteractiveLogonRight
SeDenyInte...
Hepcat asked 23/7, 2012 at 6:24
4
Solved
I wonder what sort of serialnumber wmic bios get serialnumber Windows commad actually gives you?
Is it serial number of your motherboard? Documentation is not clear about it.
3
I have preconfigured zookeeper and kafka using the following link used follow link : https://dzone.com/articles/running-apache-kafka-on-windows-os
After making all the changes, I execute this comma...
Wooded asked 2/3, 2017 at 12:30
4
Solved
Using Windows 7 Enterprise with SP1, but I'm hoping to get a generic answer that would apply to Windows XP/2003/2008/Vista/7.
From a command prompt, I execute a net use command to map the Z: driv...
Crichton asked 27/1, 2012 at 17:33
1
The following line in PowerShell works (brightness changes to 30):
(Get-WmiObject -Namespace root\wmi -Class WmiMonitorBrightnessMethods).WmiSetBrightness(0,30)
However, when using WMIC I get the ...
Connaught asked 13/1, 2021 at 17:43
3
I am trying to retrieve the modification date of a file in a locale-independent manner, using the following wmic command:
wmic DataFile WHERE Name="D:\\Data\\sample.txt" GET LastModified
This wo...
1
Why do some processes from wmic process get name, commandline, processid, executablePath not display a value for ExecutablePath?
But I can find it in taskmanager?
Is there any way to get executab...
Skeptic asked 11/8, 2020 at 13:11
3
I want to get a list of all the interfaces, IP and MAC address on a machine. I have quite a few machines to get this information from (around 600) and I can't use a batch file on the devices. I wou...
Bidentate asked 26/11, 2014 at 22:32
1
I've been relying on these two commands:
wmic memorychip get capacity // Outputs how much RAM there is (in a convoluted manner).
wmic diskdrive get Status,Model // Checks whether the HDDs/SSDs on ...
Comatose asked 20/7, 2019 at 4:41
2
Solved
edit re explanation to improve answers.
Project
As a third party engineer I am attending a site to install a piece of Software. The Infrastructure is "very" locked down. I will be supplie...
Katekatee asked 24/3, 2019 at 5:30
1
Solved
I'm using a WMIC command to output a list of SIDS and accompanying user profile names to text. From the text, I can edit a list of SIDS I need to add a set of registry keys to. However, the script ...
Collate asked 23/3, 2019 at 4:18
2
Solved
I'm trying to sart an instance of VLC using wmic
I'm doing this mainly because I want to capture the pid of the created process
I know the command below works fine from the command line:
C:\PROG...
2
Solved
I run the "wmic cpu get loadpercentage /every:1" command on a virtual machine with 2 logical CPU cores and I get the LoadPercentage of the 1st core only, as you can see on the image attached:
Multi...
1
Solved
I want to use wmic Process call create to open a CMD at current working directory. But when I add "%~dp0" to specify directory the following command output nothing.
for /F "tokens=2 delims==; " %%...
3
Solved
What is the command(s) helps to get information of the Hard disk & processor in a remote windows machine ?
7
Solved
I'm trying to write a batch script that obtains (among other things) a list of all of the disk drives the computer has. The basic code looks something like this:
REM Build the list of disk drives ...
Hexapartite asked 4/11, 2011 at 20:42
5
Solved
We have a batch file that installs several programs as part of the developers setup. This is ran periodically when we get new versions of used components. So it would be nice only to install if the...
Albertinaalbertine asked 6/8, 2014 at 13:58
1
Solved
I want to find what version of Outlook is running on specific workstations. If I manually run
wmic /node:"hostname" product where "Name like '%Office Outlook%'" get Name
in a command line, it w...
Engraving asked 27/9, 2016 at 18:28
3
I need to get the exact location of a process name that a scheduled job is executing. I want to use WMIC JOB (if you have any other suggestions.. let me know) to get that, but I don't know HOW exac...
3
Solved
I have an odd issue. I'm attempting to return the hard drive serial number from WMIC to a variable in a batch file; the line that gives me the variable is:
for /f "skip=2 tokens=2 delims=," %%a in...
Kirven asked 4/12, 2014 at 15:9
2
I'm trying to do the following query in WMI:
SELECT ProcessID from Win32_Process where CommandLine='C:\Windows\system32\calc.exe'
But I got an "Invalid query" error. I also tried with:
SELECT P...
1
Solved
I am trying to get commandline arguments of an executable which was launched by another program.
I tried the command mentioned in this answer, but I can't understand the syntax :(
I am trying to ...
Primogenial asked 16/9, 2015 at 11:50
3
wmic process get /format:csv
What is wrong with this command in Windows 7?
I get:
Invalid XSL format (or) file name.
Chromite asked 12/3, 2012 at 18:53
3
Solved
Im trying to write a very brief powershell script that runs a few commands, pipes their output to a text file, and then does a search against a keyword.
I cant figure out what to change however fo...
Stylo asked 22/6, 2012 at 17:7
1
Solved
I am running couple of wmic commands in a btach file to find a process and killing it.
wmic Path win32_process Where "CommandLine Like '%app1%'" Call Terminate
wmic Path win32_process Where "Comm...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.