doctorbill
asked on
exchange power shell
I am running this on our hosted exchange:
"New-MailboxExportRequest -Mailbox David.Dennis -IncludeFolders "#IContacts#" -FilePath \\inv-ex2013-mbx1\PST\Davi dDennis"
The error I get is:
Object David.Dennis couldn't be found on inv-dc2.inventas.co.uk
I have tried using "" for filepath, and David Dennis as name
The server I am running the script on is inv-ex2013-mbx1 NOT inv-dc2
Any idea why the script is trying to refer to inv-dc2 instead of inv-ex2013-mbx1?
If I run the command: "Get -Mailbox -Identity David.Dennis" it works fine and the mailbox is found
"New-MailboxExportRequest -Mailbox David.Dennis -IncludeFolders "#IContacts#" -FilePath \\inv-ex2013-mbx1\PST\Davi
The error I get is:
Object David.Dennis couldn't be found on inv-dc2.inventas.co.uk
I have tried using "" for filepath, and David Dennis as name
The server I am running the script on is inv-ex2013-mbx1 NOT inv-dc2
Any idea why the script is trying to refer to inv-dc2 instead of inv-ex2013-mbx1?
If I run the command: "Get -Mailbox -Identity David.Dennis" it works fine and the mailbox is found
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I just checked - it is exchange powershell
Running on a hosted exchange
So you suggest:
"New-MailboxExportRequest -Mailbox David.Dennis -DomainController inv-ex2013-mbx1 -IncludeFolders "#IContacts#" -FilePath \\inv-ex2013-mbx1\PST\Davi dDennis"
Correct?
Running on a hosted exchange
So you suggest:
"New-MailboxExportRequest -Mailbox David.Dennis -DomainController inv-ex2013-mbx1 -IncludeFolders "#IContacts#" -FilePath \\inv-ex2013-mbx1\PST\Davi
Correct?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried two commands - attached
Capture.PNG
Capture.PNG
ASKER
ping to inv-ex2013-mbx1 and inv-ex2013-mbx1.inventas.c o.uk are both successful
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The Get-Mailbox for the user works - see above
The FQDN is inv-ex2013-mbx1
I think we need to leave it there - this looks as if it has to do with the exchange being a hosted environment
The FQDN is inv-ex2013-mbx1
I think we need to leave it there - this looks as if it has to do with the exchange being a hosted environment
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Make sure you are running the command from the Exchange management shell and logged in as an administrator and running the shell as administrator.