On 3/28/2013 11:47 PM, David Klann wrote:
> On Thu, 28 Mar 2013 23:25:00 -0400 you coerced some electrons to say:
>
>> On 3/28/2013 10:57 PM, Alan Robertson wrote:
>>> On 03/28/2013 08:06 PM, Dave Quigley wrote:
>>>> On 3/28/2013 6:55 PM, Alan Robertson wrote:
>>> ...
>>> That's a good correction.  I had the impression that it was
>>> interpreted, but if I were the Windows expert, I'd have written
>>> some of it by now ;-).
>>>
>>> What would you suggest?
>>
>> I still like the idea of using C# personally but that's because i'm
>> not a big python fan. One of the benefits of C# is that there should
>> be Framework classes already in place to make use of the Windows
>> Management Instrumentation(WMI)
>> APIs(http://msdn.microsoft.com/en-us/library/bb404655.aspx).
>>
>> I thought I remember someone saying that microsoft wanted to replace
>> VBScript with C# as an admin scripting language but I'd can't seem to
>> find out if that went anywhere. You could probably try to see if
>> there are python bindings to the WMI dlls which would allow you to
>> use python instead if you wanted too. The link is from 2003 but if
>> the examples are VB.net then it should be the same classes for C# as
>> well.
>>
>>
>> Here are some additional examples of using C# for WMI calls
>> (http://www.c-sharpcorner.com/uploadfile/puranindia/windows-management-instrumentation-in-C-Sharp/).
>
> Is PowerShell too new to depend on for this? I'm not a windows person,
> but I'm aware of this new shell for Windows (I've even written a short
> script).
>
>    ~David Klann
>

I run Windows 7 at home and powershell is not part of the default 
install. They may have included it on 8 but from what I understand you 
have to install it on every version under that. I know the windows 
github package they put together uses powershell and it feels very alien 
compared to a unix shell. Having the nano probe just start up a c# app 
is probably good enough but there will be concerns with things like 
runtime version and even presence of it. How far back do people see this 
monitoring on windows? 2k? xp? 2003 server? 2003 Server R2?

Dave
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to