Questions tagged [wmi]

Windows Management Instrumentation

Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can write WMI scripts or applications to automate administrative tasks on remote computers but WMI also supplies management data to other parts of the operating system and products, for example System Center Operations Manager, formerly Microsoft Operations Manager (MOM), or Windows Remote Management (WinRM).

396 questions
2
votes
0 answers

SCCM 2007: Create new Advertisement using WMI

I'm trying to create a new advertisement using Powershell. I've looked around and found a bunch of scripts that use WMI. Using Set-WMIInstance upon the SMS_Advertisement class. I can accomplish this! My issue is that it seems there is another…
Schlauge
  • 156
  • 1
  • 1
  • 6
2
votes
1 answer

Windows server 2012, missing WMI ASPNET counters

I've been using the following WMI query to check how many IIS sites are currently running on my Windows 2008 webservers: SELECT ApplicationsRunning FROM Win32_PerfRawData_ASPNET4030319_ASPNETv4030319 After replacing these webservers with 2012…
Steffen
  • 337
  • 4
  • 17
2
votes
3 answers

Notify when a message did not occur

In Nagios it is easy to check that a log message happened in the last 48 hours and sound alarm. But how can I configure Nagios that it should sound alarm when a message did not occur in the last 48 hours? Why is this so hard? I'm using the "Check…
buckley
  • 61
  • 7
2
votes
0 answers

What constitutes a large WMI repository and what can cause it to grow?

Our organization is experiencing lengthy startup times after improper shutdowns that seem to be tied to the size of the WMI repository. For example, a repository folder size of 50 megs might result in 10 minutes added to startup time, while 500…
rmart
  • 131
  • 5
2
votes
1 answer

Remote disk monitoring with WMI without admin rights

I am setting up a restricted WMI group that should be able to read WMI information from my remote hosts. I have the group set up as member of the remote DCOM and performance monitor groups. I also have the Execute, Enable and Remote Enable set in…
Tim Brigham
  • 15,545
  • 10
  • 75
  • 115
2
votes
2 answers

PowerShell to reset local Administrator account password. 5% failures

I have the responsibility for changing the local administrator account password on my environment of 16,000 servers; I wrote a PowerShell script, but it took too long, so I added multi-threading using the powershell runspace factory to break out the…
Tim Wilde
  • 33
  • 1
  • 5
2
votes
0 answers

Windows WMI get a snapshot EnabledState

I am trying to get the EnabledState of a virtual machine snapshot using WMI. That is I try to get the EnabledState that was current for the virtual machine when the snapshot was taken. So far I know how to list all snapshots of the machine. For that…
Ivaylo Strandjev
  • 223
  • 1
  • 2
  • 6
2
votes
1 answer

Is there a way to collect WMI or WBEM/CIM data with Collectd?

I've got an Ubuntu server running statsd, collectd and Graphite. I'm looking to collect data from Windows servers via WMI. I don't see an official plugin for WMI or WBEM/CIM on Collectd's web site. Is there a third party plugin available, or some…
bshacklett
  • 1,378
  • 4
  • 19
  • 39
2
votes
2 answers

How to work out the WMI Class name from its perfmon counter name

So I have been provided with a bunch of performance counters that are housed within a particular performance object (i.e. these are not one of the default perf counters that come with Windows) and because I need to access these statistics on a…
jpoh
  • 811
  • 1
  • 8
  • 13
2
votes
1 answer

How to get cluster information remotely via Powershell?

I've been trying to find a good way to gather various pieces of a windows cluster setup remotely, preferably via WMI, as we are not yet at a point where Powershell remoting is implemented (and I know this problem goes away with that). I know I can…
FilamentUnities
  • 161
  • 1
  • 1
  • 5
2
votes
1 answer

Obtain device driver version and associated GUID using PowerShell?

Right now, I am getting two separate objects A Win32_NetworkAdapter WMI object A Win32_PnpSignedDriver WMI object In my previous scripts, I've made sure I was calling separate objects, and relating them by the GUID $mydev = Get-WmiObject…
EGr
  • 609
  • 4
  • 14
  • 29
2
votes
1 answer

Windows ADSI , WMI and Registry. How Do They All Relate With Each Other?

I have a work task which involves setting up Windows XP machines. I'm not a Windows user normally which is why I ask this question. The tasks involved in setting up one of these machines involve setting network addresses, users and specific 'Group…
D-Dᴙum
  • 153
  • 1
  • 1
  • 10
2
votes
0 answers

How to Make a WMI call fail?

I'm a developer but I have a question that seems belongs more in the ServerFault category than StackOverflow. We have a production service that every so often tends to throw: System.Runtime.InteropServices.COMException: Call was canceled by the …
Nick Gotch
  • 151
  • 7
2
votes
0 answers

Processing of group policy failed - Only on 32bit machines

When forcing a group policy update I get the following messgae, but only on 32bit windows machines. 64bit works fine. Running windows 7. The processing of Group Policy failed. Windows could not evaluate the Windows Management Instrumentation (WMI)…
ben
  • 21
  • 1
2
votes
2 answers

WMI Error in event log every boot: EventID 5605

I have a few servers that I keep getting the EventID error 5605 The root\cimv2\TerminalServices namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if the script or application does not have the…
Scott Chamberlain
  • 1,455
  • 2
  • 21
  • 37