Is there a way to enumerate a WMI object's properties to discover
what they are vs. having to explictly reference properties by
name?
>From reading the wmi.py source code I understand that enumerating
Win32_ComputerSystem() is not a good idea. But, using that as an
example anyway, how would I get
OP here. When in doubt, read the (very well commented) wmi.py
source code :)
computerSystem = wmi.WMI().Win32_ComputerSystem()[0]
Sorry for the interuption.
Malcolm
- Original message -
From: pyt...@bdurham.com
To: python-win32@python.org
Date: Wed, 03 Mar 2010 21:01:19 -0500
Subject: [
Hi Tim,
>> Looking for ideas on how to detect when our Windows application is
>> running in one of the following VM environments.
> Why? Is this for curiousity, or is it a lame-brained security scheme?
LOL! No, I'm working on a script that inventories all the environments
we're running in our de
Apologies for the vague description. I'm looking for tips on a
WMI query that would allow me to show general info about a
computer.
We're going to use this data as part of a workstation inventory
project I'm working on.
I'm sure I've seen this type of query before but my google-mojo
is failing me
pyt...@bdurham.com wrote:
> Looking for ideas on how to detect when our Windows application is
> running in one of the following VM environments.
Why? Is this for curiousity, or is it a lame-brained security scheme?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
This is a small paper that summarizes a number of more extense papers
describing different methods of VM detection. It may be of help:
http://www.s21sec.com/descargas/vmware-eng.pdf
On Wed, Mar 3, 2010 at 6:40 PM, wrote:
> Looking for ideas on how to detect when our Windows application is runni
Looking for ideas on how to detect when our Windows application
is running in one of the following VM environments. Some starter
ideas for detection are in parentheses. There may be (much)
better detection techniques - the starter ideas I've come up with
are based on my Google research.
- VMWare (
Dave Cross wrote:
> DOH! Should have spotted that 84 was 'T'
> So how do I convince MakePy that I mean an array?
> I thought the [size_is] in the IDL should achieve that?
There's no way to do this with the automatic translation. You will
either have to dig in to the comtypes module, which works a
Am Montag, 1. März 2010 03:16:41 schrieb Tim Roberts:
> You wrote:
> >i am developing a windows service using python-win32.
> >Now I am searching for a possibility to get a notification when a user is
> >trying to shutdown the system.
> >In certain cases I need to cancel this shutdown,
> >Does anyo
I try to translate this vbs script to python.
http://www.outlookcode.com/threads.aspx?forumid=2&messageid=29505
The purpose of this script is to automatically create an rule in Outlook to
sort incoming messages.
It is possible to do this in Outlook 2007 and the vbs file works. The SPAM
folder is
10 matches
Mail list logo