WMI using the path in WQL
Wed, 21 Nov 2007 14:54:02 -0800 (PST)
Hello,
I try to find the size of a directory.
I found a method with system.io c #.
But it does not like me.
So I turned to WMI.
I tried various syntaxes but none works.
This puts me "invalid request".
I searched on the net and on msdn.
The syntax for the path is a doubling of \.
In niveeau of MSDN ...
|
Partial resultsets
Wed, 14 Nov 2007 00:32:18 -0800
Hi,
I would like to be able to retrieve a partial result set. For example,
suppose I am running 4 processes and each one hosts a single decoupled
provider. If I wanted to get a count of the instances I can do something
like:
ManagementScope s = new ...
ManagementPath p = new ...
ManagementClass c = n ...
|
unable to import system.management from asp.net page
Fri, 9 Nov 2007 11:55:34 +0100
Message d'erreur du compilateur: CS0234: Le type ou le nom d'espace de noms
'Management' n'existe pas dans la classe ou l'espace de noms 'System' (une
référence d'assembly est-elle manquante ?)
but import command form cs program work fine
...
|
RE: WMI.Net 2.0
Thu, 8 Nov 2007 17:59:00 -0800
WMI.NET 2.0 was shipped in the pre-release versions of the .NET 3.5
supporting coupled and decoupled providers, writable properties, methods and
so on, almost as powerfull as the native model. Unfortunatelly the
documentation did not make it to MSDN hence the quiet time. There should be
an update released ar ...
|
Please help discover IIS by WMI
Sun, 4 Nov 2007 20:16:09 +0200
Please help discover IIS by WMI
--
http://www.alvas.net - Audio tools for C# and VB.Net developers
...
|
Measuring process memory utilization
Fri, 2 Nov 2007 19:12:58 -0700
Been trying to monitor the amount of memory being used by a process using
WMI, specifically utilizing the
Win32_Process, and the Win32_PerfFormattedData_PerfProc_Process classes. I
can't seem to find a perf counter for instance, WorkingSet, PrivateBytes,
VirtualSize...etc whose values match those I see in tas ...
|
modify dns record(ipaddress) by vbscript
Mon, 29 Oct 2007 21:15:00 -0700
Dear all
I want to modify an existing DNS record on a Windows 2003
server (AD Integrated Zone) by means of a vbscript.
The DNS record is IPAddress.
Somebody help me. please. ...
|
|
|
ManagementScope.Connect is slow
Thu, 11 Oct 2007 13:58:02 -0700
When I issue a call to connect to the WMI scope using
ManagementScope.Connect method, it takes about 10 seconds to complete.
Subsequent requests are much quicker. Our network does not seem to be the
problem, atleast that's what I have been told. What could be causing this
long pause while it is trying to c ...
|
problem for "PdhLookupPerfIndexByNameA" on longhorn
Wed, 10 Oct 2007 08:09:01 -0700
Hi All,
I am using the PdhLookupPerfIndexByNameA to get the index for the "HTTP
Service Url" object. But I am getting the "PDH_STRING_NOT_FOUND" error.
THis is for th latest LongHorn Beta drop.
This is applicable for others objects as well.
HTTP Service Url Groups
HTTP Service Request Queues
IPsec IKEv ...
|
Mapping a network drive via WMI
Tue, 9 Oct 2007 13:26:01 -0700
Hallo,
I seek for a way to map a networkdrive to a local drive letter via WMI.
I found a lot of information using dll a WSH and so on.
Is there a way to use WMI for that kind of work?
Thanks in advance ...
|