Microsoft Identity Integration Server 2003 Reskit graphic

PCNSLookup

PCNSLookup is a Visual Basic script that queries all domain controllers in a specified domain and displays the status of the password change notification service (PCNS) on each domain controller. You must be a member of the Domain Admins group in the target domain to run PCNSLookup. The information will be displayed on the screen by default. You may also save the information to a comma-separated value file (.csv).

PCNSLookup will return the following information:

Syntax

PCNSLookup [/u:UserName Password] [/d:DomainName] [/f:FilePath]

Parameters

UserName
The user account that has Domain Admin rights to the target domain. The domain may also be specified, for example /u:TestDomain\administrator.
Password
The password for the specified user account.
DomainName
The name of the target domain to return information from.
FilePath
The file path and file name of the optional CSV output file. The default file name is PCNSLookup.csv.
/?
Displays help at the command prompt.

Example

To verify PCNS status on a domain, type the following command:

cscript PCNSLookup.vbs /u:Fabrikam\administrator Pa$$W0rd /d:Fabrikam /f:c:\log\csvDump.csv