Re: convert wmi script to .net

From: Viatcheslav V. Vassiliev (msnewsgroup_at_www-sharp.com)
Date: 12/05/04


Date: Sun, 5 Dec 2004 12:39:04 +0300


.Net has classes to work with WMI. In .Net SDK help look ".Net Framework
SDK\Programming with .Net framework\Managing applications using WMI"
(Contents tab).

//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE

"sergeyko" <sergeyko@discussions.microsoft.com> сообщил/сообщила в новостях
следующее: news:4917C26D-48FB-4381-A2EB-2C59B92C2FBC@microsoft.com...
> Hello
> I have a script to add a user to a group. Now I need to rewrite it in C#
to
> include in my .NET application. Could you point me to any resource that
> explains how to use integrate WMI scripting in .NET-based programs?
>
> BR, Sergey



Relevant Pages

  • Undocumented WMI restriction !?
    ... I have an WMI abstract class defined in a DLL and a derived WMI class ... implemented in another DLL using .NET Framework. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Discover user name given IP address or NetBIOS name
    ... To do it in VBScript with WMI, ... look at the WMI and System.Management classes in the ... .Net framework. ... > Is there any way to, given an IP address(or NETBIOS machinename - I can ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: block certain IP addresses
    ... There is nothing in the framework for this, now there may be a couple of ... may be calling the API directly, but I would bet for WMI first. ... > I wont to write a small program, that runs under win2000/XP and blocks all ... > .NET Framework is the wrong place to look for solution, ...
    (microsoft.public.dotnet.languages.csharp)
  • .Net Classes for WMI access
    ... I was wondering if anyone had used the .Net framework and used the ... equivalent classes for WMI from asp pages. ...
    (microsoft.public.windows.server.scripting)
  • Re: .Net Classes for WMI access
    ... > I was wondering if anyone had used the .Net framework and used the ... > equivalent classes for WMI from asp pages. ...
    (microsoft.public.windows.server.scripting)