...@activenetwerx.com]
*Sent:* Thursday, May 06, 2010 9:06 PM
*To:* MS-Exchange Admin Issues
*Subject:* RE: Another Export-Mailbox question
Just test the command:
If (blah…) { Do the rest..} etc
*From:* KenM [mailto:kenmli...@gmail.com]
*Sent:* Thursday, May 06, 2010 5:03 PM
*To:* MS
Issues
Subject: Re: Another Export-Mailbox question
$results = Export-mailbox .
If ($results.statuscode -eq 0) { write-host mailbox successfully exported}
On Sat, May 8, 2010 at 11:47 AM, KenM
kenmli...@gmail.commailto:kenmli...@gmail.com wrote:
It does not look like I can use $?, even
: Monday, May 10, 2010 2:37 PM
To: MS-Exchange Admin Issues
Subject: Re: Another Export-Mailbox question
$results = Export-mailbox .
If ($results.statuscode -eq 0) { write-host mailbox successfully exported}
On Sat, May 8, 2010 at 11:47 AM, KenM
kenmli...@gmail.commailto:kenmli...@gmail.com
Try:
Try {export-mailbox . -ea Stop}
Catch {error handling}
From: Eric Woodford [mailto:ericwoodf...@gmail.com]
Sent: Monday, May 10, 2010 1:37 PM
To: MS-Exchange Admin Issues
Subject: Re: Another Export-Mailbox question
$results = Export-mailbox .
If ($results.statuscode -eq 0) { write
be at least reasonably sure the export
was successful?
HTH
-JP
*From:* Joseph L. Casale [mailto:jcas...@activenetwerx.com]
*Sent:* Thursday, May 06, 2010 9:06 PM
*To:* MS-Exchange Admin Issues
*Subject:* RE: Another Export-Mailbox question
Just test the command:
If (blah…) { Do
I am creating a powershell script that can export several mailboxes to PST
of users that are going to be disabled and deleted. I know there is a XML
and on screen logging when you run export-mailbox but is there any way to
add error checking into a script that will verify the mailbox exported
Just test the command:
If (blah...) { Do the rest..} etc
From: KenM [mailto:kenmli...@gmail.com]
Sent: Thursday, May 06, 2010 5:03 PM
To: MS-Exchange Admin Issues
Subject: Another Export-Mailbox question
I am creating a powershell script that can export several mailboxes to PST of
users