Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
1answer
6 views

List a server's available WMI Performance data classes

How can I get a list of all WMI performance counters classes on a given server, to use in scripts for monitoring purposes. I know one can use the performance monitor, but the classes displayed don't ...
0
votes
0answers
21 views

Get-WmiCounter Win32_PerfFormattedData_NETFramework_NETCLRMemory Incomplete in non admin context

So I have created a script to gather counters using Get-CimInstance (which supercedes Get-WMIObject) and run it as a services via srvany.exe. I get an issue where for the .Net CLR classes, some ...
1
vote
2answers
48 views

WMI Remote “Access Denied”

I can no longer remote access WMI on anything in my environment (10/8.1/XP/7 workstations). Here some specifics: 1) I am a Domain Admin and "MRT" is my user and password "mmmmn". 2) Since this ...
1
vote
2answers
40 views

monitor windows server - running behind firewall using WMI

I'm havingg 100 windows machines which is running behind the firewall. But my monitoring server is running outside the network [ public]. For SNMP , I can put one proxy server inside the internal ...
2
votes
0answers
74 views

Get-WmiObject Win32_PerfFormattedData_Tcpip_NetworkInterface results in 'Invalid Class' error

On of my Nagios plugins to monitor the network load gives me problems on one Windows 2008 R2 server (out of 600). You can download the plugin here: ...
0
votes
0answers
14 views

WMI failure causing SBS Console crash?

Dell PowerEdge T410 Windows Small Business Server 2008 SP2, all updates applied Some months ago, this server was restored from a bare metal Windows Server Backup image. Since then, the SBS Console ...
0
votes
2answers
78 views

root\MsCluster - The WMI provider returned an 'access denied' error

I have prepared the non-administrator user for collecting data using WMI. I can query any namespace using this user except root/MSCluster. For root/MSCluster it returns 'access denied'. At the ...
2
votes
0answers
25 views

WMI Query - First and Fourth IP octet

Is anyone aware of any WMI queries that could be used within group policy which only lists all IP address, which end in .200 and I have multiple sites, multiple networks, I only need to list the ...
1
vote
3answers
293 views

Get installed programs via cmd or powershell [duplicate]

I am trying to get all installed apps in the computers of my domain but i haven't found a way to get the information in an accurate way first i was trying to achieve this through the registry key: ...
0
votes
0answers
13 views

Browse through wmi classes GUI

I am trying to explore, or browse through wmi classes in a graphical interface. I have been searching about the options available but there are many. Microsoft offers wmi object explorer but it ...
0
votes
0answers
56 views

WMI service not working properly

I'm Having an issue with WMI, which seems to also affect DFS. I've tried rebuilding the repository, but it's still giving me the same error. Here's what DFS health report showing: SRV-FS02 (2 ...
3
votes
3answers
216 views

WMI instead of WMIC command to find application version?

I'm using wmic to find the current version of an in-house application. My command looks like this: wmic product where "name='Application Name'" get version I've never used wmi, but I've read about ...
0
votes
1answer
78 views

SCCM Server 2012 WMI Query For Missing Microsoft Patches On Specific Host

What is the appropriate WMI query to ask a 2012 SCCM server for a list of missing Microsoft patches on a specific host that the SCCM server manages. For example, say I want to check which patches are ...
0
votes
0answers
17 views

Querying supported 802.11 protocols through WMI?

Is it possible to query a network adapters supported 802.11 protocols through WMI? The computers I'm trying to do this on are all running windows 7 professional. I know it's possible to look up the ...
0
votes
1answer
24 views

Windows Server - WMI Permission?

This question is related to this one. I am trying to get some disk sensor data via WMI (W2012R2). Therefore I added a user wmiagent and granted some rights. I did it exactly like in this guide. Some ...
0
votes
0answers
55 views

Firewall Blocking PSWindowsUpdate

Problem I am trying to use the script from this link below to retrieve windows updates from a remote computer (Server 2012 R2) using the command Get-WUList. ...
1
vote
2answers
201 views

Which permissions/rights does a user need to run “Get-WmiObject win32_service” on a remote machine?

I am in almost the same situation as the person who asked this question (link). The only difference is that I'm not writing a monitoring service but trying to get a WMI-based monitoring service to ...
1
vote
1answer
500 views

WMI Issue - The paging file is too small for this operation to complete

I have an issue with a Windows Server 2008 Standard SP1 whereby I have lost the ability to monitor it remotely. After investigation, it appears to be because there is an issue with WMI. In the WMI ...
3
votes
2answers
134 views

Configuration of RelayIPList using CimObject breaks Windows SMTP server

I am trying to configure Windows Server 2012 SMTP server using PowerShell. I plumbed for using the IISSmtpServerSettings CimObject. I get the object, apply my change (allow localhost to relay sender ...
1
vote
1answer
81 views

Is there a supported Windows CIM/WMI provider for Dell PERC Generation 11 or later?

I have Dell OpenManage Server Administrator (version 7.4) for Windows installed on a 12th generation server with a PERC H710P. That machine has a root\cimv2\dell namespace which does not seem to ...
0
votes
0answers
34 views

How to create a new user and add it to a group in VisualSVN with the command line?

I have a VisualSVN Server running on a Windows Server machine. I want to create new users and add them to certain groups in batch. How can I do it by using only the command line? If I understood ...
5
votes
1answer
55 views

Bug in WMI namespace for MicrosoftDNS Statistics class?

I'm trying to query DNS statistics from Windows Server 2012 via WMI. If I run the following command in Powershell: Get-WmiObject -Namespace root\MicrosoftDNS -Class MicrosoftDNS_Statistic | ?{ ...
1
vote
1answer
67 views

WMI filter is ignored by certain clients in group policies

The applied WMI filter to a group policy is ignored by certain clients. It works fine on other clients, returns the correct value, but on some clients it is just not applied and does not appear in ...
0
votes
1answer
258 views

Win32_LogicalDisk doesn't retrieve network drives from remote machines

I'd like to use WMI to retrieve all logical disks from a remote host. For some unknown reason, running get-wmiobject Win32_LogicalDisk -computername remoteHost fails to include network drives located ...
1
vote
2answers
625 views

WMI query to check for IP default gateway for OSD

I'm trying to add a condition for a command line, which should only be run if the condition is met. I'm doing this by using a WMI Query; Select * From Win32_NetworkAdapterConfiguration Where ...
0
votes
1answer
67 views

How to show powershell input as part of output

I'm trying to get the OS version of a selection of the computers on my domain. I created a powershell command that does this but it is missing the computer name on the output. This is the command ...
10
votes
2answers
2k views

Windows 10 WMI and Event Viewer access denied

We have a Windows domain where I used GPOs to enable remote management and monitoring of all of our workstations using WMI. I can also connect to all of our computers with Computer Management and ...
0
votes
0answers
49 views

WMI query of ARR Server Farm returns duplicate entries on some machines

I am working on integrating Application Request Routing's health checks (in Monitoring and Management) with Icinga, and to do so I've written a small C# web app that executes a WMI query and deployed ...
2
votes
3answers
404 views

How do I get the free space of a remote disk without admin privileges? (Windows)

I'm an admin on two servers (Win 2008 R2). I have a scheduled task that copies large files from a share on one server to another. Before I do the copy, I check that the destination disk on the other ...
0
votes
1answer
586 views

Which registry key corresponds to “Log on as a service”?

I want to be able to set this value programmatically (preferably via WMI). It must live in the registry or some other location. Yes, I know how to do it via MMC using secpol.msc, but I need to ...
0
votes
2answers
77 views

Poll domain members for their screen resolutions

Is there a way via WMI or Powershell to ask each domain member what the resolution is on their desktop? I need to know but can't go and visit each one. For bonus points, how to summarize the results ...
1
vote
2answers
1k views

Create SCCM device collection based on last logged on users who are members of an AD security group

I'm trying to create a device collection in SCCM 2012 which contains only the devices who are used by the users who are members of a certain User AD Security Group. I tried to accomplish this by first ...
1
vote
0answers
70 views

Monitoring Exchange 2013 Databases with Intermapper [closed]

I'm currently setting up a Intermapper map, which is a monitoring system, to monitor a Exchange 2013 server and I couldn't find yet a way to monitor the databases health. For now, just the mount ...
2
votes
0answers
314 views

Using WMI to query Windows Event Collector logs

Using WMI to query the eventlog is quite simple, using Win32_NTLogEvent, for example: Get-WmiObject -query "SELECT *FROM Win32_NTLogEvent WHERE (logfile='Application' and SourceName='Something') ...
4
votes
0answers
263 views

Get-Process not working against remote Windows 7 clients

I have been trying to run Microsoft's GetNetworkStatistics script against remote computers to enable us to track what processes are using bandwidth along with other tools. I am unable to run the ...
8
votes
1answer
994 views

DFSR-related WMI info is missing

OS: Server 2012 Core and Server 2012 R2 Core. DFS-Replication is installed and appears healthy. I am using WMI to collect information from DFSR replication members. The queries work on many of the ...
1
vote
1answer
340 views

Access to “Windows Security” logs for “eventlog” group

Security logs are not available for users in eventlog group. I've checked this down to security event log file. eventlog group has all permissions. Unfortunately I cannot add my user to ...
2
votes
2answers
258 views

Can I find the path to a DCOM application executable with WMI or Powershell?

I have installed (and registered) a DCOM application on a W2K8R2 machine, and its GUID can be found in the DCOM list shown by dcomcnfg. I can also use Powershell to find a Win32_DCOMApplication or ...
1
vote
0answers
134 views

Why is WMI not actually using the fixed port?

When I asked this question (both here on SF and IRL) about how to remotely access WMI, the answer I got from multiple sources was "use a fixed port." I've tried doing this, but it doesn't seem to be ...
1
vote
1answer
202 views

How do I open the firewall for my monitoring software to access WMI?

I have a SQL Server machine and a monitoring machine, and I need the monitoring software on the monitor host to be able to read the WMI data on the SQL Server host. (The monitoring software is ...
1
vote
2answers
300 views

Invalid method Parameter when calling DfsrConnectionInfo->ForceReplication() with WMIC

In our AD infrastructure the SYSVOL is replicated by DFSR. I want to force replication using WMI (ForceReplication method) via WMIC: wmic /namespace:\\root\microsoftdfs path DfsrConnectionInfo call ...
2
votes
0answers
336 views

WMI computersystem get username returns null

I'm having an issue with the below WMI query running under a non-admin service account against windows 7 PCs: wmic /node:x.x.x.x computersystem get username where x.x.x.x is the IP address of the ...
5
votes
1answer
678 views

Win32_OperatingSystem.FreePhysicalMemory and $_.TotalVisibleMemory giving output in wrong units

I've been putting together a pretty simple script to monitor some aspects of our Terminal Server farm usage and am implementing a section where I check the memory usage on the servers at a given point ...
4
votes
2answers
351 views

Using SCCM and WMI to retrieve Font information

I need to be able to inventory the information about the fonts currently installed in our machines (around 200,000). It seems some users installed fonts they were not supposed to (due to licensing ...
0
votes
0answers
2k views

Executing a batch file containing an exe path remotely via wmic

I have a batch file on Computer-A that contains several commands and a path to an exe file. When I execute the batch file on Computer-B via wmic, I can see all the commands being executed in the ...
2
votes
1answer
140 views

unable to set service user account via command line

I am writing a puppet script to automate creation of TeamCity agents on Windows 2008 R2 SP2.For this, I need to set a custom TeamCity service user account via command-line. So far, I have tried this ...
2
votes
1answer
2k views

Remote Computer Management from Active Directory Snap-In fails with DCOM error 10006

So here's a little background. Our system originally started with Windows Server 2003 machines and eventually over time expanded and grew. We still have a few Server 2003's but they're being removed. ...
5
votes
2answers
363 views

Correlating volumes and physical disks through WMI

I'm trying to correlate volumes (as enumerated from win32_volume for those where DriveType = 3) back to win32_physicaldisk instances. Everything that I've seen in my research points to the answer ...
1
vote
0answers
61 views

Same WMI request is much slower on other machine

I posted this question some time ago on stackoverflow, but unfortunately I didn't get any answer yet. It's actually not very urgent, as this problem seems only to exist on my machine - for now. But ...
1
vote
1answer
476 views

Group Policy WMI Filter to Check if Windows Feature is Installed

The following returns true for servers without the Server GUI installed: WMIC PATH Win32_OptionalFeature WHERE "Caption = 'Microsoft-Windows-Server-Gui-Shell-Package-DisplayName' AND InstallState = ...