get-wmiobject Questions
1
I have developing a new WMI instance provider and I am having a bit of trouble. I am able to register my provider successfully using regsvr32.exe. The regsvr32 application calls my implementation o...
Cabman asked 14/5, 2020 at 2:54
6
Solved
When I look at the Win32_ComputerSystem class, it shows loads of properties like Status, PowerManagementCapabilities, etc. However, when in PowerShell I do the below I only get back a couple:
PS C...
Vinna asked 31/8, 2011 at 15:10
2
Solved
This is a question about an answer for this Combine `Get-Disk` info and `LogicalDisk` info in PowerShell?
Here is the answer which I've tried to change to get the output formatted how I want it:
ht...
Wardship asked 2/8, 2020 at 18:49
2
Solved
This is how my current script looks like:
$cpu = Get-WmiObject win32_processor | select LoadPercentage
logwrite $cpu #this fuction writes $cpu into a .txt file
The output of the file is:
@{Load...
Gallipot asked 15/2, 2018 at 12:56
1
Solved
Is there a way to specify the -Filter parameter, using the WMI Query Language (WQL), of the Get-WmiObject cmdlet to filter based on the “Command Line” used to invoke the process? By “Command Line” ...
Operate asked 22/8, 2017 at 14:6
1
© 2022 - 2024 — McMap. All rights reserved.