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
1
vote
0 answers

New-CimSession from outside domain

How can I initiate a new CIM session to a Windows server in my domain, from a PC that is not in the domain? I know this works, because I did it recently from the same computer, but I always forget the magic incantation. My PowerShell history…
jdm
  • 171
  • 7
1
vote
0 answers

Powershell Script setting WMI CIMV2 Permissions

I am currently trying do change up a script so that I can put it into a GPO. The Script itself works but I want to do a "if else" around it. The Script is found here: https://gist.github.com/exchange12rocks/950aa29f66e6369d2c02fa8583bb3a75 The goal…
wondaah
  • 36
  • 2
1
vote
2 answers

Push out Commands to all Domain PCs

I'm looking for a way to push out commands to all workstations. The scenario is as follows: I often go to environments that I am not familiar with to audit the network. Part of that is a network scan, but to use our specific tools we need to…
1
vote
1 answer

WMI access denied from one day to the other

I had a working WMI connection for months. From a W10 Server I check a dozen XP clients. From one day to the other on, one particular machine denies access. All the others that should be identical do work normal. The error I get: [10.1.1.1]…
1
vote
1 answer

Can't query certain namespaces/classes in WMI (Get-WmiObject: Not supported)

I'm trying to query classes in the root\microsoft\windows\managementtools namespace, but am getting an odd error. I have confirmed this namespace exists on my machine, because I can query it using WMIExplorer. Here is the error: C:\> Get-WmiObject…
0
votes
1 answer

Is it possible to restrict WMI logins to specific hosts/IP addresses?

Context: Enterprise IT environment 3000+ Virtual Machines running various editions of Windows Server (the client) Vendor specific application which uses WMI to query the Windows Servers for information, logs into server and runs PowerShell…
adz_esm
  • 3
  • 1
0
votes
0 answers

SCCM - Collecting Local Admins Inventory

I am unable to collect data on the LocalAdmins group on computers. When I check the log files, I get the error below. I am not sure what I need to do in order to get this data? Is it an issue with the MOF file that I imported?
RLBChrisBriant
  • 493
  • 1
  • 6
  • 20
0
votes
0 answers

Contrilling WMI Permissions Remotely and removing Administrators group

So, I know the question seems a little weird, but let me explain. We are in higher education, and we have public computers. So on these computers, we enable all users within our department to be administrators on those machines. This is because they…
Herc08
  • 1
0
votes
0 answers

permissions for MSFT classes

Im trying to query MSFT classes under non-admin user Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved. PS C:\Users\john.doe> Get-WmiObject -Query "SELECT * FROM MSFT_Disk" -Namespace Root/Microsoft/Windows/Storage…
John
  • 532
  • 5
  • 14
0
votes
0 answers

Win32_NTLogEvent query rendering data with 1 hour latency with event viewer

Trying to collect the event log data with WMI query using class Win32_NTLogEvent.But this is not sync with event viewer data.The WMI query rendering data with 1 hour latency with event viewer.Hence unable to collect the as per poll interval. This is…
0
votes
1 answer

Define static DCOM port

We have a monitoring server that needs to monitor a Windows Server 2016 in a different VLAN. These VLANS are separated by a hardware firewall. Instead of opening a range of ports for the DCOM communication we would like to set one static port. The…
MeMario
  • 25
  • 6
0
votes
0 answers

Change WMI Security Descriptor programatically not working

I'm trying to change the Wmi Security Descriptor of a about 100 hundred Computers with Windows 10 Pro/DC 2012 R2. I found that the following approach can be used in my case : msdn Executing the steps locally on a Windows 10 machine with the domain…
0
votes
1 answer

In Powershell, how to check drive space on remote server with non-admin account?

I work in an active directory environment with many servers. I have a user account that I would like to use to check the status of other servers, without giving this account full administrative access to these other servers. Specifically, I want to…
Baodad
  • 115
  • 7
0
votes
0 answers

powershell script to run bitlocker

I am trying to enable bitlocker in all domain joined user machines in my office. I have used a logon script to enable bitlocker in all machines. But this tool is enabling bitlocker in C drive alone. I need to enable this in all drive. How do i…
user284141
  • 1
  • 2
  • 4
0
votes
1 answer

How does one create a website application in IIS6 from a script?

I'm sorry about how simple the question is but I've searched all over the Internet and I found MSDN articles about making application pools (http://msdn.microsoft.com/en-us/library/ms525309.aspx) and using IIS 7 but nothing about IIS 6 and…
Zian Choy
  • 281
  • 5
  • 18