RE: Question about functionality of the Exchange_DSAccessDC class
- From: navneetg@xxxxxxxxxxxxxxxxxxxx (Navneet Gupta)
- Date: Wed, 18 May 2005 16:01:26 GMT
Hi Matt,
I have some knowledge about WMI. Could you please provide the repro steps
for this scenario.
I feel that I could be of help.
Thanks,
Navneet Gupta
--------------------
| Thread-Topic: Question about functionality of the Exchange_DSAccessDC
class
| thread-index: AcVWYcssEpfyiyQOSvuH6PHfbL4hGg==
| X-WBNR-Posting-Host: 64.169.85.157
| From: "=?Utf-8?B?TWF0dA==?=" <anonmous@xxxxxxxxxxxxx>
| Subject: Question about functionality of the Exchange_DSAccessDC class
| Date: Wed, 11 May 2005 12:44:07 -0700
| Lines: 41
| Message-ID: <ACE58412-7F30-4906-BB00-6E754E03EC17@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.win32.programmer.wmi
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.win32.programmer.wmi:4504
| X-Tomcat-NG: microsoft.public.win32.programmer.wmi
|
| Hello,
| I've been trying to understand the way in which information contained
| within the Exchange_DSAccess WMI class is populated and updated. I have
been
| running this sample script:
|
| Set Locator = CreateObject("WbemScripting.SWbemLocator")
| Locator.security_.impersonationLevel = 3
| 'wbemImpersonationLevelImpersonate
| Set Service = Locator.ConnectServer("COMPUTERNAME",
| "root/MicrosoftExchangeV2")
| Set Object = Service.Get("Exchange_DSAccessDC")
|
| wscript.echo Object.Path_.DisplayName
|
| SQLQuery = "Select * from Exchange_DSAccessDC"
|
| Set DSAobjColl = Service.ExecQuery(SQLQuery)
|
| For Each DSAobj In DSAobjColl
| wscript.echo DSAobj.Name
| wscript.echo DSAobj.ConfigurationType
| wscript.echo DSAobj.Type
| Next
|
| set Service = nothing
| set Locator = nothing
|
|
| The output seems to never update (I'll run the above script every few
| minutes or so). I have waited about 40 minutes after I shut the GC
down,
| and this script was still giving me the old info. If I restart MS
Exchange
| Managment service, the output of this script updates immediately.
|
| Why doesn't the information contained provided by the Exchange_DSAccess
| class update?
|
| This is with Exchange 2003 on Windows 2003.
|
| Thanks,
|
| Matt
|
.
- Follow-Ups:
- References:
- Prev by Date: Re: WMI Logoff won't
- Next by Date: Re: HOW TO Assign wmi rights to non-administrators!
- Previous by thread: RE: Question about functionality of the Exchange_DSAccessDC class
- Next by thread: RE: Question about functionality of the Exchange_DSAccessDC class
- Index(es):
Relevant Pages
|