Showing results for WMI - PowerShell Team

Apr 15, 2008
Post comments count0
Post likes count0

WMI Object Identifiers and Keys

PowerShell Team
PowerShell Team

Recently one of MVPs, Darren Mar-Elia (Group Policy Guru from SDMSoftware [which as a set of FREE PowerShell GP cmdlets HERE])  was working with our WMI type accelerators and got the following error: $ld = '\\sdmlaptop1\root\cimv2:Win32_LogicalDisk.Caption="C:"' $disk = [WMI] $ld Cannot convert value "\\sdmlaptop1\root\cimv2:Win32_LogicalDisk....

WMI
Sep 24, 2007
Post comments count0
Post likes count0

Get-WmiHelp & Search-WmiHelp

PowerShell Team
PowerShell Team

Both PowerShell and Windows Management Instrumentation (WMI) are pretty incredible technologies that can do a lot of amazing things, but we're all human, and keeping an encyclopedic mental reference of all of these amazing things would give Good Will Hunting a headache.  For years, when I used WMI I almost al...

WMI
Feb 24, 2007
Post comments count0
Post likes count0

Displaying USB Devices using WMI

PowerShell Team
PowerShell Team

Over on MyItForum.com, I came upon a VBScript in a forum to find all the PNP entities associated with a USBController. I rewrote it in PowerShell and was pretty happy with the results so I thought I would share them. The first thing you need to understand is that the WMI class WIN32_USBControllerDevice describes the connection between USB control...

WMI
Aug 30, 2006
Post comments count0
Post likes count0

Automating Dell Battery Replacement Discovery

PowerShell Team
PowerShell Team

MOW has done it again.  Checkout his blog entry which shows how to leverage Windows PowerShell to automate determining which of the Dell laptops in your enterprise need to have their batteries replaced. http://mow001.blogspot.com/2006/08/powershell-has-my-dell-dangerous.html Totally cool.  Jeffrey Snover [MSFT]Windows PowerShell/Asp...

WMIMoWWin32_Battery
Aug 1, 2006
Post comments count0
Post likes count0

Encoding Operations Knowledge

PowerShell Team
PowerShell Team

One of the primary goals of Windows PowerShell is to encode operations knowledge.   Consider the example of finding out what domain role a computer plays.  If you look at the WMI class WIN32_COMPUTERSYSTEM, you'll see that it tells you this information:   PS> Get-WMiObject Win32_computerSystem |fl dom*Domain  &...

FAQPHILOSOPHYWMI
Jul 6, 2006
Post comments count0
Post likes count0

Revisiting: Listing all the COM automation PROGIDs

PowerShell Team
PowerShell Team

In the blog entry Listing all the COM automation PROGIDs http://blogs.msdn.com/powershell/archive/2006/06/29/650913.aspx . I showed how you could use the registry to get all the progids that you can use for COM automation. Here is a way to do the same thing via WMI (which allows you to do it to remote machines): Get-WMIObject Win32_ProgIDSpeci...

FAQWMICOM
Apr 29, 2006
Post comments count0
Post likes count0

Use of Wildcards in PowerShell Formating

PowerShell Team
PowerShell Team

MMS in San Diego was a great conference!  I met lots of customers that asked lots of great questions.  I was demonstrating PowerShell's WMI support when a customer asked about controlling the output.  The problem was that PowerShell was showing all the WMI System properties as well as the Object properties and that this wasn't what t...

WMIFORMATEXTENSION