![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | wmi accessing indexed properties I learned a lot today about wmi support in Powershell. Anyway I didn't manage it to do a simple thing with IIS administration. I wanted to add a Mime mapping to IisMimeMapSetting.MimeMap property I did $wmi = get-WmiObject -namespace root\MicrosoftIISv2 -class IisMimeMapSetting But from now I don't know how to continue. I see the members with $wmi | get-member $wmi.MimeMap results in POWERSHELL EXCEPTION EXCEPTION TYPE:System.Management.Automation.CmdletInvocationException MESSAGE:Exception retrieving members: "Not found " POSITION: -------------------------------------------------------------------------------- How can I list the collection? How can I extend the collection? Tanks, Thomas |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| accessing control properties | Andrew | .NET General | 1 | 07-08-2008 12:52 PM |
| Accessing file properties via explorer shell hooks | Hal Rottenberg | PowerShell | 3 | 06-02-2008 08:45 PM |
| Accessing File Properties | Chris Harris | PowerShell | 0 | 03-04-2008 12:18 PM |
| Accessing Word document properties | Grzegorz Niemirowski | PowerShell | 5 | 12-05-2007 09:32 PM |
| Accessing properties of a control in a style declaration | muchinger@web.de | Avalon | 0 | 03-19-2007 09:55 AM |