Questions tagged [wmic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Remote WMI Traffic

I have a problem understanding remote WMI traffic. Let's say I have 2 PC's in a LAN (PC-A and PC-B). From PC-A i type in CMD: wmic /node:"PC-B" /user:"B" /password:"whatever" computersystem get "...
0
votes
1answer
144 views

Remove TerminalServices SSLCertificateSHA1Hash

I would like to remove RDP certificate that I previously set through the command wmic /namespace:\\root\cimv2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash=$...
3
votes
1answer
384 views

Subsequent calls to WMIC return a localdatetime with a deviating timezone

The problem In our company environment we use several batch files which use WMIC to retrieve the current time. Usually to print it to log files, but also to include the timestamp in a file name. ...
0
votes
1answer
374 views

WMIC on multiple remote PC's failing with: Failed to open Node-list file

wmic /node:@PC-list.txt os get csname,installdate Command above yields this error: Failed to open Node-list file (Please check the filename).
1
vote
0answers
36 views

WMIC is running every second… how can I stop running it?

when I enter a server using Remote Desktop connection, I notice that every second a console window is opened and closed immediately. I could take a screenshot so I could see that the program that is ...
0
votes
0answers
228 views

WMIC returnvalue = 3?

Am trying to install a simple msi from our DC to my machine for testing purposes, but, I keep on getting this one error: Method execution successful. Out Parameters: instance of __PARAMETERS { ...
0
votes
1answer
234 views

Create .txt file with all PC names on domain for WMIC?

I'm wanting to run WMIC to call an uninstall for a certain bit of software, and, I have a working WMIC command, but I don't know how to create a .txt file with all of our computer names. Does anyone ...
0
votes
1answer
432 views

GWMI - Find out if Domain Controllers are physical or virtual via script

I have tried to create a script for extracting but the output is not quite I desired. $Servers = Get-ADDomainController -Filter * | Select-Object Name foreach($server in $servers) { $compsystem = ...
3
votes
0answers
585 views

Windows netstat vs WMIC bytes sent/received difference

I'm trying to understand the difference between the bytes sent/received values returned by both netstat and wmic on Windows. I'm having a hard time finding an explanation for the significant variation....
2
votes
1answer
545 views

Nano Server - Move Pagefile

Update: I never found a way to move the pagefile and with Microsoft's pivot to make Nano container only I doubt there will ever be a way to do this. I am trying to move the pagefile on a Windows ...
1
vote
0answers
258 views

wmic GroupUser where OR not working

These 2 statements, where the only difference is the order in the conditional, give different results. What is the reason for this behavior? Is my usage of OR incorrect? wmic /Node:%computername% ...
0
votes
1answer
2k views

wait until completing WMIC process call create cmd.exe to run bat

I'm running a bat file located on a remote server. The command is: wmic /node:[server name] process call create "cmd.exe /c [bat file location]. I would like the command to wait until the batch file ...