NI Number Transport Rule
Hi All, Im trying to get an exchange 2010 (sp2) transport rule to copy all mails sent or recieved which include UK NI numbers in to an additional mailbox. Ive tested various combinations buttest emails with specific format in do not get copied, and other emails which don't seem to be fully compliant with the rule are. Has anyone done this before or can you confirm I'm using correct format please? \D\D\d\d\d\d\d\d\D JJ666666J - should get caught? \D\D\s\d\d\s\d\d\s\d\d\s\D JJ 66 66 66 J - should get caught?Any suggestions? Thanks
October 5th, 2012 11:47am

Looks right to me. http://technet.microsoft.com/en-us/library/aa997187.aspx[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
October 5th, 2012 11:50am

Looks right to me. http://technet.microsoft.com/en-us/library/aa997187.aspx[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
October 5th, 2012 11:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics