![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) | ||||||||||||
| Guest | Re: how to determine if wmi namespace exists You can get all the classes with the -list parameter and filter the one you want with where: if(get-wmiobject -list | where { $.name -eq "<className>"}){ "class exist" } --- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||
My System Specs![]() | |||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Namespace mapping tool | Michel Racicot | .NET General | 1 | 03-07-2008 10:10 AM |
| if a file exists | NeilOz | PowerShell | 6 | 01-03-2008 02:33 AM |
| Using namespace directive? | Duncan Smith | PowerShell | 10 | 08-19-2007 11:14 PM |
| URI to namespace extension | Brad O'Hearne | PowerShell | 0 | 04-09-2007 10:07 AM |
| tag not valid in namespace | Sharon | Avalon | 1 | 03-29-2006 08:07 AM |