c.Win32_OperatingSystem question.

bryan rasmussen rasmussen.bryan at gmail.com
Thu Mar 12 11:35:50 CET 2009


Hi,

well coming back to the project and looking over it I realized I had
somehow messed up the names for some Win32 Operating System properties
- for example ComputerOrganization instead of Organization. Not sure
where I got the values from cause I've just be copying the properties
I want from scriptomatic output.




Cheers,
Bryan Rasmussen

On Sat, Feb 28, 2009 at 8:15 PM, Tim Golden <mail at timgolden.me.uk> wrote:
> bryan rasmussen wrote:
>>
>> Maybe there's a more specific list I should ask this question on but I
>> don't know what it is. I'm using Tim Golden's wmi stuff, and putting
>> my output into an XML document.
>>
>> I have the following bit of code
>>
> [.. snip ...]
>>
>> At the end of that thhe only text node thaht comes out is
>> ComputerName, WMI is running - Am I using the wrong names for things
>> here? When I try to get the same values using WScript and WQL to
>> extract from Win32_OperatingSystem I get all the values.
>
>
> I'd love to help here, but you're not making it easy. I'm not
> clear if you're suggesting there's a problem with WMI or with
> ElementTree or with something else. Can you narrow down, please
> so I don't have to invent a code wrapper for your code fragment.
> Try producing an instantly-runnable piece of code which demonstrates
> the problem and I'll happily have a look from the WMI perspective at
> least.
>
> TJG
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list