Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
1answer
27 views

What rights should non-admin user have to run Get-WmiObject?

I am trying to monitor windows machine with the help of wmi and powershell remoting. I managed to successfully start remote session with that machine throught non-admin user account, but now I have a ...
3
votes
1answer
121 views
+50

What is causing the Collateral damage when deleting old profiles?

#Get user names that have logged onto workstation $Users = gwmi win32_networkloginprofile | where {$_.name -match "EXP\\"} | where {$_.name -notmatch "srvtasksched"} $Users | foreach{ $Name = ...
5
votes
2answers
66 views

How to find the creation date of a local user account?

I would like to get the creation date of a local user account (Win 7 if it matters). I've looked at the following WMI objects (and google of course): Win32_UserAccount Win32_NetworkLoginProfile The ...
0
votes
0answers
9 views

WMI: wmic linux agent query error: NTSTATUS: NT_STATUS_ACCESS_DENIED

Myself new to wmic and keep trying for a long time with default agent query approach. wmic is linux based WMI tool to talk to windows WMI agent. While trying to fetch data with wmic from nt(win7 with ...
4
votes
1answer
53 views

Are there any known incompatibilities with WMF 4.0?

We don't typically run bleeding edge software in $environment, that being said since 4.0 has been out for a while; I haven't come across any conflicts posted on the web. Does anyone know of any? ...
3
votes
1answer
72 views

Windows 7 WMI ODBC driver installation?

I am interested leveraging the ease of report production provided by Microsoft SQL Report Builder, but I would like WMI as an available datasource. Since SQL Report Builder relies only on SQL, I ...
3
votes
0answers
55 views

How to accept EULAs for Software updates deployed through SCCM using Powershell

I'm trying to use the Start-CMSoftwareUpdateDeployment cmdlet to deploy a software update group to an existing collection. PS WHO:\> Start-CMSoftwareUpdateDeployment -SoftwareUpdateGroupName ...
3
votes
2answers
77 views

Can you use WMI to determine if a connection gets its DNS servers from DHCP?

The DNS server search order for a network interface can be read from Win32_NetworkAdapterConfiguration like this in Powershell, or programmatically using .Net ManagementObjects: > $NICs = ...
2
votes
1answer
35 views

WMI query of DNS shows a root hint that's not present in the DNS plugin.

I was writing a Powershell script for my network when I came across some alarming information in our DNS. Bear in mind we still use Powershell v2, not v3. So I have to query DNS via the Get-WMI ...
0
votes
2answers
139 views

“HP Insight Management WBEM Providers” download

I am trying to query a Proliant Server's health thru Powershell. But I can't find a place to download the HP Insight Management WBEM Providers from here. Is there any other Powershell equivalent of ...
0
votes
0answers
33 views

Access to RSOP via WMI

I need to retrieve data from RSOP using the following script written in VBS: Const FL_FORCE_CREATE_NAMESPACE = 5 strComputer = "." Set objWMIService = ...
3
votes
2answers
87 views

Stopping a scheduled task with WMIC

I need to find some method for disabling a scheduled task on a remote machine and waiting until that task has stopped executing if it happens to be running at the moment. I'd like to do this through ...
4
votes
2answers
110 views

How do I identify a volume in WMI from a volume name reported in the event log?

I have a Windows 2008R2 server that's reporting the following error: The file system structure on the disk is corrupt and unusable. Please run the chkdsk utility on the volume ...
2
votes
1answer
83 views

What wmi counters can indicate port exhaustion

I'm currently investigating an issue in which we suspect port exhaustion from too many outgoing connections is a factor. I'd like be able to identify when the server is at or near to port exhaustion, ...
3
votes
1answer
55 views

Can I apply a Group Policy only to systems that have specific software installed?

If I wanted to setup a group policy that installed Java, this would be no problem. But is it possible for the group policy to only apply to systems that have Mozilla Firefox installed? I don't know ...
1
vote
1answer
49 views

retrieve software RAID information using WMI [duplicate]

I need to get software RAID configuration info from a remote windows server (2003, 2008, 2012) on a local linux system. I have searched and searched, but have been unsuccessful at finding a solution, ...
3
votes
1answer
126 views

SCCM WMI Get Patches that require reboot

How can i get all patches that require a reboot before running the install process using WMI and SCCM. So far i have this wmi query that lists all the available patches but none of the properties ...
2
votes
2answers
111 views

BGInfo and WMI Filter

I have applied a Logon script via GPO to run BGInfo. As I understand it, as I am setting a User Configuration the GPO must be applied to a User OU. We have an OU called SERVERS which is the only OU we ...
7
votes
1answer
82 views

GPO software deployment without WMI?

I put together a GPO to deploy a MSI file to a security group comprised of computer objects. After rebooting a test workstation so that it picks up its group membership and running gpupdate, I then ...
1
vote
1answer
89 views

WMIC mystery - why is this query invalid?

Why is this an invalid query? wmic service where 'caption like "%documentum%"' get name, caption Node - PE95AOECM ERROR: Description = Invalid query This is the expected output: ...
1
vote
1answer
93 views

How can I retrieve the data types of properties when querying WMI via Winrm

Winrm allows me to query WMI via the WS-MAN protocol as opposed to DCOM. However, in the DCOM implementation I can retrieve the data types of the various properties of the various classes I query. ...
2
votes
1answer
110 views

Use WMI to remove a page file

I can modify page file settings via WMI like this PS D:\> gwmi win32_pagefilesetting MaximumSize Name Caption ...
0
votes
0answers
42 views

What permissions/drive mapping are needed to launch a process on a remote server with WMI?

I have a user that would like to distribute their independent jobs across multiple machines in our server farm. One possibility is to use WMI with the Win32_Process class, and wait for termination ...
2
votes
1answer
1k views

WMI filter for Internet Explorer 10+

I need to apply a GPO on all machines with IE 10+ but the setting does not need to be and shouldn't be applied to ie 9. All the machines are Windows Vista, 7, and 8 (some 32 bit and others 64). I ...
0
votes
1answer
31 views

How can I monitor and graph this WMI/WQL data?

How can I graph this data? Looking for a non-cumbersome way to put this data into a graph/webpage. select writeiops from Win32_PerfFormattedData_ISEVirtualDisks_ISEVirtualDisks WHERE NAME = "trax2" ...
2
votes
0answers
81 views

Can I create a WMI filter that will evaluate to True for both Client computers and Terminal Servers?

I have a GPO that is currently being run only on client computers (XP, Vista, 7, etc.), by using a WMI filter with the following query: select * from Win32_OperatingSystem where ProductType='1' I ...
-1
votes
1answer
39 views

How to loop specific powershell script

I need to uninstall Java from several computers in my network. After almost all day of Googling it seems the best way to do this is with a Powershell script. I found one that I have tested on a few ...
1
vote
0answers
57 views

Powershell script to retrieve the same kind of info reported by DMDIAG for dynamic disks

This article about windows partition alignment explains that checking the alignment offset of dynamic disks can be done with the DMDIAG tool to get the "relative sectors" property. With dynamic ...
0
votes
0answers
46 views

GPO applied though WMI filter says false

I have a GPO which configures the folder redirection to a network share. This works fine on all workstations with this WMI filter: SELECT * FROM Win32_OperatingSystem WHERE ProductType = "1" But an ...
0
votes
1answer
39 views

IBM Server IMM settings throughWMI

We have few windows servers 2008 where we need to find out IP Address of IMM module. Is there any way we can query it using WMI?
0
votes
0answers
71 views

Identify Hyper-V VM GUID from Performance Counters

I am gathering CPU performance data for Hyper-V Virtual machines using perfmon or through WMI using the "Hyper-V Hypervisor Virtual Processor" counter. The output data contains My issue is that when ...
6
votes
2answers
388 views

powershell: How to check if S.M.A.R.T is enabled on remote machines

I was attempting to get disk info of remote machines, including whether or not SMART is enabled on the drive by using the win32_diskdrive class. This is trickier than I thought. While it's easy ...
2
votes
0answers
60 views

Listing all WMI classes with winrm/wsman

Is there a way to pull all WMI information from a system with a single winrm command? I can run commands such as winrm enum wmicimv2/win32_computersystem, which will give me information like: ...
8
votes
2answers
794 views

SCCM Global Condition WQL Query Type Mismatch (wbemErrTypeMismatch - 0x80041005)

We have been handling all of our targeting logic for Packages (and now Applications) with Collections. Now that we have moved from SCCM 2007 to SCCM 2012 SP1 it was recommended that we move that logic ...
0
votes
0answers
40 views

Determining a laptop fleet's battery health

I'm trying to determine the battery status of my school's laptop fleet. I should be able to extract this using WMI (as per http://msdn.microsoft.com/en-us/library/aa394074(v=vs.85).aspx ) but the ...
0
votes
0answers
44 views

Unable to launch SQL Server Configuration Manager - WMI provider issue

Hoping you can help. I am having issues opening SQL Server Configuration Manager on Server 2k3 with the following error: Cannot connect to WMI provider. You do not have permission or the server is ...
1
vote
1answer
168 views

Windows Remote WMI

i want to manage my Windows Server 2012 remotly via Server Manager and the MySQL installation via MySQL Workbench 6. Now i got serval problems. The first one is that i cant get remote WMI access to ...
3
votes
1answer
113 views

Windows PowerShell Select removing columns

I am a linux guy so I'm used to "grep". With grep it keeps the columns, however in powershell it changes the output. For example: Get-WmiObject -List | Select-String -Pattern "Win32_LogicalDisk$" ...
2
votes
0answers
178 views

RPC Server unavailable. 0x800706BA [closed]

I've alsready seen some similar threads on the RPC server unavailable messages; HRESULT: 0x800706BA. I've read some and looked at the recommendations on this thread; WMI query between two different ...
0
votes
0answers
88 views

Why Wmi info for disk size is wrong?

i am expecting a very curious problem. In a script collecting disk infos on a list of W2008 servers, i realize that, for some servers, the Wmi info for the disk size is wrong. My Powershell command: ...
2
votes
0answers
229 views

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 ...
11
votes
4answers
417 views

Identify Windows 2012 Server core

I want to detect if a 2012 server is has been setup as a Core install using WMI. An earlier question, would seem to indicate that I can get the OperatingSystemSKU from Win32_OperatingSystem. My ...
1
vote
1answer
107 views

System health monitoring of unmanaged server using WMI / SNMP

I need to monitor the health of a couple unmanaged servers (specifically Dell SC1425), preferably using WMI or SNMP. They are running Windows Server 2003 SP1. Ideally I am looking for a single ...
3
votes
2answers
432 views

Delete Shadow Copies Remotely

I currently use DISKSHADOW to remove shadow copies from our Hyper-V servers. To do this I have to log onto the server but psexec doesn't work. psexec \\hyper-v-server diskshadow DISKSHADOW> Error ...
0
votes
0answers
59 views

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 ...
0
votes
0answers
80 views

Adding properties to the Win32_UserAccount Class

How to add new properties to *Win32_UserAccount* class and add values to it? I have used wbemtest command and Have created a new property to the class Win32_UserAccount. How to make it fetch the ...
0
votes
1answer
86 views

Get OS information with WMI from Small Business Server 2011 for Windows 2008 virtual machine

In my organization, the main server is Windows Small Business 2011. It uses a WMI service (I think) to get the Security and Update status of computers on the network. I have a Server 2008 virtual ...
0
votes
1answer
92 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?
13
votes
1answer
2k views

SCCM 2012 SP1 - DownloadContentFiles() failed with hr=0x80041013

We noticed our Automatic Deployment Rules for Software Updates failed to automatically download and apply this month's patches from Microsoft although they are correctly listed in the Catalog. ...
0
votes
0answers
28 views

Migrate Get-MailboxDatabaseCopyStatus to WMI

Currently we are using a lot of Powershell scripts for Exchange monitoring (executed via nrpe). I would like to change this to query WMI remotely for more convenience. I was wondering if there's an ...