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:
PCNSLookup [/u:UserName Password] [/d:DomainName] [/f:FilePath]
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