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
0
votes
0 answers

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: Get-WmiObject win32_LogicalDisk. For one…
0
votes
0 answers

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 values from the user's attribute. For Example I have…
0
votes
1 answer

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 machine in VirtualBox with bridged network adapter.…
Andrew
  • 103
  • 1
  • 4
0
votes
1 answer

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?
msmafra
  • 173
  • 3
  • 9
0
votes
3 answers

Update content on an application with Powershell or WMI in Microsoft SCMM 2012 SP1

While right-clicking an applications deployment type(s), we can select Update Content. Is there a way of doing this action using Powershell or a WMI-method?
Chrizmo
  • 161
  • 1
  • 8
0
votes
1 answer

What are the ways/tools to compare 2 Windows installations and their KB updates?

I have a list of machines, some machines throw System.Runtime.InteropServices.Marshal.ThrowExceptionForHR upon doing Windows Management Object's query, select Name, State, Started, Status from Win32_Service I suspect it is due to different KB…
0
votes
2 answers

How to find a user in a specific group using wmi

I have added a "SearchingUser" user to administrators group of a remote server "RemoteServer". I am trying to verify the user is added to the server using WMIC and this is the command: wmic /node:RemoteServer useraccount where "name='SearchingUser'…
Yasser Sobhdel
  • 167
  • 1
  • 8
0
votes
1 answer

TCL, WMI and twapi

I am sorry if this is a double post. I thought I posted this question yesterday, but cannot find it. We are going to start the process of changing our network numbering scheme from 192.168.88.0/24 to 10.0.1.0/24. There are approximately 50 devices…
0
votes
1 answer

Pinging the hostname of the server I'm on does not reach out to DNS, responds with 'lowest' numerical IP

For example: Server: server1.contoso.com IPs present on server: Initially configured statically with 10.10.20.100, it had two additional IPs added to the same NIC, 10.10.20.20 and 10.10.20.102. A Record for server1.contoso.com points at…
Jared
  • 71
  • 1
  • 1
  • 3
0
votes
1 answer

Use SCOM 2012, WMI, or Powershell to identify all servers that have hyper threading turned off

We recently setup SCOM 2012 and deployed agents to all of our servers. We also have noticed that a number of these servers do not have hyper threading enabled, which they should. Is there any way we can use SCOM or WMI to find which servers do not…
Greg Bray
  • 5,530
  • 5
  • 33
  • 52
0
votes
1 answer

Show processes running on remote computer using WMI

I'm using WMI in order to run commands on a remote machine. For now, and I know it's as it should be, the process which is being run is not shown on the screen of the remote, I can only see it running when I open the task manager. Like I said, I…
Idanis
  • 103
  • 1
0
votes
2 answers

Issue when connecting to Hyper-V Server 2012 throw Hyper-V manager(Windows7) and Powershell

I know there is many topic, but i cannot find solution that works. There is issue when connecting to hyper-v server throw hyper-v manager and also powershell. Can not connect to RPC service. According this problem with enabling remote management…
Stepchik
  • 99
  • 4
  • 11
0
votes
1 answer

Determine wifi capabilities of Windows box (with WSUS install rules)

I need to determine if a computer is in fact a laptop with wifi capabilities (with emphasis on wifi rather than laptop). More precisely, I want to distribute a piece of software I wrote via WSUS and Local Update Publisher to those clients. To this…
Hagen von Eitzen
  • 816
  • 3
  • 15
  • 41
0
votes
1 answer

ASP.NET Applications WMI class not found

I'm trying to instrument ASP.NET cache behavior on a web cluster by accessing the counters in the WMI class, Win32_PerfFormattedData_ASPNET_ASPNETApplications. 2 of my servers have this class, but 1 does not. They all have the versioned class…
RyanW
  • 528
  • 3
  • 9
  • 19
0
votes
1 answer

GPO WMI username filter not working over RDP

I'm trying to write a WMI filter to prevent a GPO from applying to certain users SELECT * from Win32_ComputerSystem WHERE NOT UserName LIKE 'domain\\user1_%' AND NOT UserName LIKE 'domain\\user2_%' This works correctly if the user is logged onto…
user135173