News

it’s also a perfect job for PowerShell. Frequently the hardest part of using WMI is finding the right class to use. Running Get-WmiObject with the -List parameter will return over a thousand ...
To remove an application using PowerShell, you first need to obtain a list of installed applications on the machine using the command "Get-WmiObject -Class Win32_Product | Select-Object -Property ...
One of the things that PowerShell doesn't have is ... of the accounts that are on the domain. Get-WmiObject -Class Win32_UserAccount -Filter "LocalAccount='True'" [Click on image for larger view.] ...
I'm trying to get some simple Powershell code working but I'm missing something obvious. I just want to see the amount of free space on each disk in my machine in gigabytes. Which is cool and all ...
Using PowerShell you can access this WMI class with the Get-CimInstance or Get-WmiObject cmdlets. In Figure 1 below, you find the first user profile on the local computer. You’ll notice many useful ...
If we change the value of $class, we can re-run the Get-WMIObject command without editing. This helps a little bit towards efficiency, but PowerShell 3.0 will take ...