![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| | |||||||
| | Vista - Exchange 2007 validate domain email addresses? |
| |
| 10-16-2007 | #1 (permalink) |
| | Exchange 2007 validate domain email addresses? Hello; Suppose I have an Exchange 2007 system setup as one forest with 3 domains. On two of these domains, I have Exchange 2007 servers. I have clients with Outlook 2003, so I have public folders. I have no Exchange servers that are not running 2007. Both domains share one email address space (@somecompany.com) I have contacts, distribution groups, users, public folders that are all email enabled. I want to verify that the email address postmaster@xxxxxx is not assigned to any of those recipient types. So far, all I can come up with is doing the following calls: get-mailbox postmaster@xxxxxx get-mailuser postmaster@xxxxxx get-mailcontact postmaster@xxxxxx get-distributiongroup postmaster@xxxxxx get-publicfolder postmaster@xxxxxx If they all fail, postmaster@xxxxxx is not currently assigned. This seems rather ugly. Is there a better way, using only built in cmdlets, to validte the existance of an email address in Exchange 2007? Thanks Karl |
| My System Specs |
| 10-16-2007 | #2 (permalink) |
| | RE: Exchange 2007 validate domain email addresses? have you tried get-recipient -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "Karl Mitschke" wrote: Quote: > Hello; > > Suppose I have an Exchange 2007 system setup as one forest with 3 domains. > > On two of these domains, I have Exchange 2007 servers. I have clients with > Outlook 2003, so I have public folders. > > I have no Exchange servers that are not running 2007. > > Both domains share one email address space (@somecompany.com) > > I have contacts, distribution groups, users, public folders that are all > email enabled. > > I want to verify that the email address postmaster@xxxxxx is not > assigned to any of those recipient types. > > So far, all I can come up with is doing the following calls: > > get-mailbox postmaster@xxxxxx > get-mailuser postmaster@xxxxxx > get-mailcontact postmaster@xxxxxx > get-distributiongroup postmaster@xxxxxx > get-publicfolder postmaster@xxxxxx > > If they all fail, postmaster@xxxxxx is not currently assigned. > > This seems rather ugly. Is there a better way, using only built in cmdlets, > to validte the existance of an email address in Exchange 2007? > > Thanks > > Karl > > > |
| My System Specs |
| 10-16-2007 | #3 (permalink) |
| | RE: Exchange 2007 validate domain email addresses? Hello RichS, Quote: > have you tried get-recipient > Thanks, Richard! |
| My System Specs |
| 10-17-2007 | #4 (permalink) |
| | Re: Exchange 2007 validate domain email addresses? Check out: Who owns that email address? http://scriptolog.blogspot.com/2007/...l-address.html Shay http://scriptolog.blogspot.com Quote: > Hello; > > Suppose I have an Exchange 2007 system setup as one forest with 3 > domains. > > On two of these domains, I have Exchange 2007 servers. I have clients > with Outlook 2003, so I have public folders. > > I have no Exchange servers that are not running 2007. > > Both domains share one email address space (@somecompany.com) > > I have contacts, distribution groups, users, public folders that are > all email enabled. > > I want to verify that the email address postmaster@xxxxxx is > not assigned to any of those recipient types. > > So far, all I can come up with is doing the following calls: > > get-mailbox postmaster@xxxxxx get-mailuser > postmaster@xxxxxx get-mailcontact postmaster@xxxxxx > get-distributiongroup postmaster@xxxxxx get-publicfolder > postmaster@xxxxxx > > If they all fail, postmaster@xxxxxx is not currently > assigned. > > This seems rather ugly. Is there a better way, using only built in > cmdlets, to validte the existance of an email address in Exchange > 2007? > > Thanks > > Karl > |
| My System Specs |
| 10-17-2007 | #5 (permalink) |
| | Re: Exchange 2007 validate domain email addresses? Hello Shay, Quote: > Check out: Who owns that email address? > http://scriptolog.blogspot.com/2007/...il-address.htm > l > Shay > http://scriptolog.blogspot.com I'm using get-recipient now. karl |
| My System Specs |
| Thread Tools | |
| |
| Similar Threads for: Exchange 2007 validate domain email addresses? | ||||
| Thread | Forum | |||
| Cannot send email to addresses outside the email server domain | Vista mail | |||
| SBS 2008, Exchange 2007 - Multiple E-mail Domain & Multiple Mailbo | SBS Server | |||
| Disable exchange email for one domain user - SBS 2003 | SBS Server | |||
| How to connect Outlook 2007 to Exchange 2007 from out a domain? | SBS Server | |||
| Set new primary SMTP-addresses in Exchange 2007 | PowerShell | |||