![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Question about WMI from a scripting beginner... Not only am I new powershell but to scripting in general. Is there a listing or way to get a listing of all WMI namespaces and classes? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Question about WMI from a scripting beginner... akcorr wrote: Quote: > Not only am I new powershell but to scripting in general. Is there a listing > or way to get a listing of all WMI namespaces and classes? PowerShell: http://thepowershellguy.com/blogs/po...r/default.aspx There are others out there also if you might neeed something else. -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Question about WMI from a scripting beginner... Get-WmiObject -list "akcorr" <akcorr@xxxxxx> wrote in message news:B816F94F-B1ED-4A07-93F1-F84EB92B4558@xxxxxx Quote: > Not only am I new powershell but to scripting in general. Is there a > listing > or way to get a listing of all WMI namespaces and classes? |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Question about WMI from a scripting beginner... Brandon Shell [MVP] wrote: Quote: > Get-WmiObject -list only (root/cimv2). Marco |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Question about WMI from a scripting beginner... If you specify the name space it will give you all the classes for the namespace... that said. Quote from OP "Not only am I new powershell but to scripting in general." I think for starting off... Get-WMIObject -List will provide you more than enough info to start. More Info: http://technet.microsoft.com/en-us/l.../bb978691.aspx From the Help. -list <SwitchParameter> Used to indicate that the names of the WMI classes in the WMI repository namespace specified in the Namespace parameter should be retrieved and displayed. The Default Namespace registry entry, contained in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\Scripting is not used by this cmdlet to determine the default names pace. If you specify the List parameter, but not the Namespace parameter, the root\CIMV2 namespace is used by default. "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:%23FIBSmWXIHA.4440@xxxxxx Quote: > Brandon Shell [MVP] wrote: Quote: >> Get-WmiObject -list > Only thing is that this provides the classes from the default namespace > only (root/cimv2). > > Marco |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Question about WMI from a scripting beginner... "Marco Shaw [MVP]" wrote: Quote: > akcorr wrote: Quote: > > Not only am I new powershell but to scripting in general. Is there a listing > > or way to get a listing of all WMI namespaces and classes? > /\/\o\/\/ ("The PowerShell Guy") has a WMI Explorer all written in > PowerShell: > > http://thepowershellguy.com/blogs/po...r/default.aspx > > There are others out there also if you might neeed something else. > > -- > Microsoft MVP - Windows PowerShell > http://www.microsoft.com/mvp > > PowerGadgets MVP > http://www.powergadgets.com/mvp > > Blog: > http://marcoshaw.blogspot.com > http://www.microsoft.com/downloads/d...DisplayLang=en I often use it, I think it can be very helpful. -- urkec |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Beginner ASP Data Connection Question | .NET General | |||
| VB.NET beginner Question | .NET General | |||
| General beginner question | PowerShell | |||