How to Resolve New-MailboxExportRequest is Not Recognized Error
Nowadays, Outlook application is becoming more popular due to its advanced features. Thus, most users want to switch to Outlook. Exchange users may require to convert their Exchange file to PST.
In this situation, they can use the New-MailboxExportRequest command to export Exchange 2010 Mailbox to PST format. However, sometimes there are chances that users may not identify the new-mailboxexportrequest cmdlet.
Hence, it will show an error message like New-MailboxExportRequest is not recognized in Exchange 2010, 2013, and 2016. Thus, they need a solution to fix the error message that occurs in Exchange Server. First, let’s understand the PowerShell command and its working.
What is New-MailboxExportRequest?
The New-MailboxExportRequest Powershell command is available only in Exchange on-premises. People are using this cmdlet to start the migration of the primary mailbox of Exchange to Outlook.
However, this command is only available in the Mailbox Import Export role. In addition, the role is not assigned to any role groups by default. Hence, if people want to use the new-mailboxexportrequest Powershell command, then they need to add the Mailbox Import Export role to the role group.
Reasons behind New-MailboxExportRequest Failed Problem
There can be various reasons behind this issue. In this section, we discuss some of the most common causes:
- If MS Exchange Server is not up to date with the new version
- Exchange Management Shell doesn’t have administrator rights
- The Exchange Server database might be corrupted or damaged
- The Exchange account does not have the required permission, which is performing the export request
Fix New-MailboxExportRequest is Not Recognized Issue Manually
There are many manual ways to resolve this Exchange error message. Some of them are explained here:
Solution 1:
First, you need to update the MS Exchange Server after installing the SP1 that is required to run the new-mailboxexportrequest command.
After updating the Exchange server, you need to restart the Exchange Management Shell again and again. If you are still facing the error message, then you should try the next resolving method.
Solution 2:
If you have updated your Exchange Server and the problem has not resolved. Then, you should right click on the icon and run the PowerShell cmdlet as an administrator instead of starting the Exchange Management Shell through the shortcut. After that, due to security reasons, the EMS will disable some commands that are not running or logged in as an administrator automatically.
Solution 3:
Another method to resolve New-MailboxExportRequest not working problem is assigning the import export permission to users. If a person has required permissions then they can initiate the migrating process by using the PowerShell command.
For granting the Read and write permission, users need to click on the checkbox. After that, they will be surely able to resolve the error message New-MailboxExportRequest failed.
Limitations with Manual Methods
The Exchange Management Shell commands are sufficient enough to export Exchange Mailbox to Outlook PST file. But, there are some situations where these Exchange export commands fail to accomplish the task due to many possible reasons.
The manual solution needs a high technical expertise because even the smallest mistake can lead to permanent data loss.
Therefore, generally these methods are performed by system administrators who have a high level of skills and experience. But, even they can face the error in Exchange Server which can be outside of their understanding.
An Alternate Way to Resolve New-MailboxExportRequest is Not Recognized Issue
As it is mentioned in the above discussed section, there are many issues with the manual methods during the conversion process. Hence, in order to resolve the user’s problem, users can choose the professional solution like SysTools Exchange Export tool in spite of using the new-mailboxexportrequest for migrating
Exchange data to PST format. Using this commercial tool, the entire conversion process becomes simple and reliable as the users don’t have to face New-MailboxExportRequest not working problem.
Because, the tool provides a facility to transfer entire mailbox data of Exchange to Outlook without altering the contents of it. The application makes the entire migration process trouble free and efficient as it also supports both bulk and selective migration.
Wrapping Up
The Powershell New-MailboxExportRequest cmdlet is used to export the Exchange contents to a PST file. But, sometimes these cmdlet does not work and displays error message like New-MailboxExportRequest is not recognized as the name of the cmdlet.
Therefore, in this post, we have covered three manual ways to resolve this error message. But it has some limitations. Thus, we have also discussed a trouble free solution to transfer Exchange EDB file to PST format. This solution can overcome the drawbacks of manual procedure.
Exchange – The term ‘New-MailboxExportRequest’ is not recognized (Solved)
The term ‘New-MailboxExportRequest’ is not recognized
In this article, We will discuss this issue that why New-MailboxExportRequest command doesn’t work in Exchange Management Powershell while User has full access on File Path and part of Mailbox Import Export ManagementRoleAssignmement. Let’s see how Exchange Mailbox export works and how we can solve “The term ‘New-MailboxExportRequest’ is not recognized” error.
How to Export a Mailbox in Exchange 2010 Using Exchange Management Shell
1- Open Exchange Management Console
2- Run the following command to provide proper rights to import or export a mailbox
New – ManagementRoleAssignment – Role “Mailbox Import Export” – User Administrator
3- Create a shared folder and assign full rights to “Exchange Trusted Subsystem” group
4- Now if you will run the following command to export a mailbox, you will definitely get the error “The term ‘New-MailboxExportRequest’ is not recognized”
New-MailboxExportRequest -Mailbox “TestMailBox” -FilePath “\\Testex01\c$\get\TestExport01.pst”
The term ‘New-MailboxExportRequest’ is not recognized as the name of a cmdlet, function, script file, or operable program.
5- Close Exchange Management Shell and Open again so the user will have proper rights which we assigned in step 2. Run the above command again (Solution)
New-MailboxExportRequest -Mailbox “TestMailBox” -FilePath “\\Testex01\c$\get\TestExport01.pst”
6- You will see success and mailbox export started and in Queue. You can see the status with Get-MailboxExportRequest
Note: To export an archive mailbox in exchange 2010, You can use “-IsArchive” to export archive mailbox. Below is full command -IsArchive
New-MailboxExportRequest -Mailbox “TestMailBox” -IsArchive -FilePath “\\Testex01\c$\get\TestExport01.pst”
However, this will only export archive mailbox not the actual mailbox, so logically you have to run both commands seprately.
New mailboxexportrequest не распознано как имя командлета
Улучшения в процедуре эспорта/импорта почтовых ящиков в Exchange 2010 SP1 Beta…
Процедура экспорт/импорта почтовый ящик претерпела значильные изменения в 2010 SP1 Beta в сравнении с RTM версией. Основные изменения заключаются в следующем:
- Теперь нам не нужно использовать командлеты export-mailbox и import-mailbox. Новые командлеты называются New-MailboxExportRequest и New-MailboxImportRequest.
- Outlook не нужно устанавливать на той машине, с которой мы будем запускать командлеты.
- Процессом экспорта/импорта управляет служба Mailbox Replication.
Эспорт и импорт данных почтовых ящиков значительно улучшен и теперь позволяет нам эскпортировать или импортировать pst файлы в асинхронном режиме. Для запуска соответсвующих командлетов необходимо обладать правами, которыми по умолчанию не обладает ни один пользователь. Пользователь, которому будет дано право запускать данные командлеты, должна быть назначена роль “Mailbox Import Export”.
Давайте более подробно рассмотрим эту процедуру на примере. Я хочу дать моему администраторскому аккаунту необходимые права на запуск командлетов экспорта/импорта. Для этого мне необходимо выполнить команду:
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “administrator”
Аналогично, и более правильно, будет выдать необходимые права на группу безопасности. Таким образом если вам нужно будет в последствии дать подобные права другому пользователю, вам нужно будет просто включить его в соответствующую группу.
New-ManagementRoleAssignment –Role “Mailbox Import Export” –SecurityGroup “ImportExportGroup”
В результате выполнения предыдущих команд у нас есть необходимые разрешения на запуск нужных командлетов. Для экспорта почтового ящика в pst файл запустим следующую команду:
New-MailboxExportRequest –Mailbox “alias” –Filepath “\servernamesharefile.pst”
Для просмотра статуса выполнения запроса запустим командлет Get-MailboxExportRequest. В моем случае экспорт выполнен успешно.
В указанном мной месте находиться pst файл!
Путь к pst файлу должен быть в формает UNC, в противном случае вы получите ошибку:
Подобным образом с помощью командлета New-MailboxImportRequest мы можем импортировать PST файл обратно в Exchange, причем как в основной ящик, так и в архивный.
Я видел несколько различных статей, в которых говориться, что командлет “export-mailbox” более недоступен в SP1 Beta. Однако это не соответсвует действительности. Командлет export-mailbox все ещё доступен и успешно запускается если на компьютере установлен Outlook 2010 X64. Я запустел командлет без каких либо сообщений об ошибке на моем сервере с SP1 Beta.
Если же Outlook 2010 X64 не запущен вы получите следующее сообщение об ошибке.
На этом сегодня все, мы продолжим в будущих статьях знакомство с улучшениями в Exchange Server 2010 SP1.
Автор: RAJITH JOSE ENCHIPARAMBIL
Полезные ссылки:
Часто люди жалуются, что евроремонт квартиры в Москве слишком дорог, однако я делал ремонт в фирме ООО “СТ-Сервис” и остался доволен как конечной ценой, так и качеством и скоростью выполнения.
Этот пост July 12, 2010 at 11:57 am опубликовал molse в категории Exchange 2010. Желающие могут оформить RSS подписку на комменты. Both comments and trackbacks are currently closed.
Часто администраторы Microsoft Exchange сталкиваются с задачей выгрузить почтовый ящик пользователя в PST или наоборот загрузить PST на сервер. В Exchange 2013 это можно сделать с помощью командлета New-MailboxExportRequest.
Популярная проблема. Под учетной записью администратора вы пытаетесь выполнить экспорт почтового ящика, но shell говорит, что командлет не найден, несмотря на то что учетная запись добавлена в группу Organization Management.
Решение.
По умолчанию даже у учетной записи администратора нет прав на экспортимпорт . Добавить эти права можно через командлет ниже. После добавления прав, необходимо перезайти в PowerShell
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User «DOMAINadministrator»
Применимо к:Exchange Server 2016
Последнее изменение раздела:2018-01-18
Этот командлет доступен только в локальной среде Exchange.
Командлет New-MailboxExportRequest используется для начала процесса экспорта данных из почтового ящика или архива в PST-файл.
Примечание. |
---|
Этот командлет доступен только для роли "Импорт и экспорт почтового ящика", которая по умолчанию не назначена группе ролей. Чтобы использовать этот командлет, добавьте роль "Импорт и экспорт почтового ящика" в группу ролей (например, в группу ролей "Управление организацией"). Дополнительные сведения см. в статье Управление группами ролей. |
Сведения о наборах параметров, представленных в разделе "Синтаксис" ниже, см. в статье Синтаксис командлетов Exchange.
В этом примере основной почтовый ящик пользователя "Ayla Kol" экспортируется в PST-файл в общей сетевой папке PSTFileShare на сервере SERVER01.
В этом примере архив пользователя "Kweku" экспортируется в PST-файл в общей сетевой папке PSTFileShare на сервере SERVER01.
В этом примере экспортируются сообщения, которые содержат в тексте слова "company" и "profit" и получены пользователем "Tony" до 1 января 2012 года.
В этом примере экспортируются все сообщения из папки "Входящие" пользователя "Kweku" в PST-файл InPlaceHold.
Вы можете создать несколько запросов на экспорт для одного почтового ящика. У всех таких запросов должны быть уникальные имена. Microsoft Exchange может автоматически создать до 10 уникальных имен для запроса на экспорт почтового ящика. При этом, если создается больше 10 запросов на экспорт для почтового ящика, потребуется указать уникальное имя. Можно удалить существующие запросы на экспорт с помощью командлета Remove-MailboxExportRequest перед запуском нового запроса с именем по умолчанию: MailboxExportX (где X = 0-9).
Запись "Импорт и экспорт" (Для запуска этого командлета необходимо получить соответствующие разрешения. В этом разделе перечислены все параметры командлета, однако некоторые из них могут быть недоступны, если они не включены в назначенные разрешения. Сведения о необходимых разрешениях см. в разделе) в статье Разрешения получателей.
Группе "Доверенная подсистема Exchange" необходимо предоставить следующее разрешение в общей сетевой папке, в которой происходит экспорт или импорт PST-файлов.
Для импорта PST-файлов из общей папки: разрешение на чтение
Для сохранения экспортированных PST-файлов в общую папку: разрешение на чтение и запись.
Если не предоставить это разрешение, отображается сообщение об ошибке, информирующее о том, что Exchange не удалось установить подключение к PST-файлу в общей сетевой папке.
Этот параметр зарезервирован для внутреннего использования корпорацией Майкрософт.
Параметр FilePath указывает путь к сетевой общей папке с PST-файлом, куда экспортируются данные. Например: \SERVER01PST Filesexported.pst.
Группе "Доверенная подсистема Exchange" необходимо предоставить следующее разрешение в общей сетевой папке, в которой происходит экспорт или импорт PST-файлов.
Для импорта PST-файлов из общей папки: разрешение на чтение
Для сохранения экспортированных PST-файлов в общую папку: разрешение на чтение и запись.
Если не предоставить это разрешение, отображается сообщение об ошибке, информирующее о том, что Exchange не удалось установить подключение к PST-файлу в общей сетевой папке.
Параметр Mailbox указывает почтовый ящик, данные которого нужно экспортировать. Можно использовать любое уникальное значение, идентифицирующее почтовый ящик.
различающееся имя (DN);
Каноническое краткое имя
Адрес электронной почты
LegacyExchangeDN
SamAccountName
Идентификатор пользователя или имя участника-пользователя
Параметр AcceptLargeDataLoss указывает на то, что запрос должен выполняться, даже если невозможно скопировать большое количество элементов из исходного почтового ящика в целевой. Вам нужно использовать этот параметр, если для одного из параметров BadItemLimit или LargeItemLimit установлено значение 51 или выше. В противном случае команда завершится с ошибкой.
Параметр AssociatedMessagesCopyOption указывает, копируются ли сопоставленные сообщения при обработке запроса. Сопоставленные сообщения — это особые сообщения, которые содержат скрытые данные о правилах, представлениях и формах. По умолчанию сопоставленные сообщения копируются. Параметр может иметь указанные ниже значения.
DoNotCopy . Сопоставленные сообщения не копируются.
MapByMessageClass . В этом варианте необходимое сопоставленное сообщение ищется по атрибуту MessageClass исходного сообщения. Если сопоставленные сообщения этого класса есть и в исходной, и в целевой папках, то сопоставленное сообщение в целевой папке будет перезаписано. Если в целевой папке нет сопоставленного сообщения, то в ней создается копия исходного сообщения.
Copy . В этом варианте сопоставленные сообщения копируются из исходной папки в целевую. Если сообщения одного типа есть и в исходной, и в целевой папках, то они дублируются. Это значение используется по умолчанию.
Параметр BadItemLimit указывает максимально допустимое количество неправильных элементов, прежде чем запрос выдаст ошибку. Неправильный элемент — это поврежденный элемент в исходном почтовом ящике, который невозможно скопировать в целевой почтовый ящик. В ограничение на неправильные элементы также включены отсутствующие элементы. Отсутствующие элементы — это элементы из исходного почтового ящика, которые не удается найти в целевом почтовом ящике, когда запрос готов к выполнению.
Допустимые вводимые значения для этого параметра — целое число или значение unlimited . Значение по умолчанию равно 0. Это означает, что запрос выдаст ошибку при обнаружении любых неправильных элементов. Если наличие нескольких неправильных элементов допускается, этому параметру можно задать значение в разумных пределах (рекомендуем 10 или меньше), чтобы продолжить выполнение запроса. Если обнаружено слишком много неправильных элементов, рассмотрите возможность использования командлета New-MailboxRepairRequest, чтобы попытаться исправить поврежденные элементы в исходном почтовом ящике, и повторите запрос.
Примечание. |
---|
Если значение равно 51 или больше, вам также нужно использовать параметр AcceptLargeDataLoss. В противном случае команда завершится с ошибкой. |
Параметр BatchName определяет описательное имя для экспорта пакета почтовых ящиков. Это имя можно использовать в параметре BatchName в качестве строки для поиска во время использования командлета Get-MailboxExportRequest.
Параметр CompletedRequestAgeLimit указывает, как долго будет храниться выполненный запрос до автоматического удаления. Значение параметра CompletedRequestAgeLimit по умолчанию — 30 дней.
Параметр Confirm указывает, следует ли отображать запрос на подтверждение. Влияние этого параметра на командлет зависит от того, требуется ли командлету подтверждение перед выполнением.
Для командлетов, которые могут нарушить работу системы (например, Remove-*), требуется подтверждение. Вы можете пропускать запросы на подтверждение этих командлетов, используя следующий синтаксис: -Confirm:$false .
Для большинства других командлетов (например, командлетов New-* и Set-*) не требуется подтверждение. Если для этих командлетов указать параметр Confirm без значения, то перед их выполнением будет отображаться запрос на подтверждение.
Параметр ConflictResolutionOption указывает, что делать, если в целевой структуре несколько сообщений удовлетворяют условиям. Допускаются следующие значения:
New-MailboxExportRequest is Not Recognized in Exchange Server 2016, 2013, 2010
The New-MailboxExportRequest command has made it easier for the users to export their mailbox data to the local system in an easy way. The Exchange administrators or users just need to run this command precisely in Exchange Management Shell and get the job done. However, there are times when users face New-MailboxExportRequest is not recognized error message while running this cmdlet.
In this blog, we will be discussing the reasons why users are unable to run this PowerShell command successfully. There might be numerous reasons of users get this error message. We will guide you on how you can solve those issues and run this command without any failure.
Why New-MailboxExportRequest Fails to Recognize in Exchange?
Whenever a user tries to run New-MailboxExportRequest to export all mailboxes to PST and gets an error message, then most of the time, it is due to the assigned roles. If you haven’t assigned the required roles to the mailboxes, then you will get New-MailboxExportRequest not recognized error message.
- We can check the roles assignment using the Get-ManagementRoleAssignment cmdlet as shown below:
- In case you have a long list of mailboxes and want to check only for a specific mailbox, then you apply a filter as well. For that, execute the following cmdlet:
Here you can see that the assignment grants Organization management members as if only you have the role delegation rights. As an organization administrator, it permits you to decide whether a user should have Mailbox Import Export role or not.
Now many users might ask why the Mailbox Import Export role is not assigned to all the users by default. It is because this role grants full access to the mailboxes that are in its scope, and it can be a security issue for organizations. Thus, it is not assigned to any mailbox by default.
What to Do if New-MailboxExportRequest is not Recognized?
In the above example, we have seen that the Administrator account is assigned to a role group that has access to Mailbox Import Export role delegation. For that, you need to add the admin account to that role. You cannot initiate the export process until the role is not assigned to the user. You can implement the same by implementing the following steps:
- Create a New Role Group and Add Admin Account to that Group
- Execute the following command to create a new role group and add that administrator account to the group.
- Finally, the desired role group is created, and the admin account is now a member of that group.
- You can also verify if the permissions are assigned or not.
- Now open the Active Directory >> look for OU Microsoft Exchange Security Group present in the root domain of the forest.
- Here you will see a new universal security group named Exchange Mailbox Import Export.
- When you open its properties, you will see that the admin account that we added to it is now a member of that group.
- Once all these steps are performed, the New-MailboxExportRequest not recognized error message will be gone and you can carry out the export process.
Perfect Alternative if You Get New-MailboxExportRequest is Not Recognized Message
Going with a manual solution to carry out the export process is a cumbersome process if you don’t have technical expertise for it. It is very common to experience such kinds of errors due to the complexity involved in these procedures. Thus, to overcome these complexities, we are offering users a quick and efficient tool to export Exchange mailboxes into PST format.
Unlike the Exchange Management Shell and cmdlets, the software offers a simple and user-friendly interface for easy execution. Additionally, there are smart filters offered in this tool to customize your export process. Applying those filters in EMS could be really tricky if you don’t execute it in the right way.
Not just that, the New-MailboxExportRequest only works with Exchange 2010 SP1 and its later versions. Whereas the tool is compatible with almost all Microsoft Exchange versions. You can try this software for free and experience a hassle-free process.
Bottom Line
New-MailboxExportRequest is not recognized in Exchange is one of the common error messages encountered by the users. Being a tech experts and analyzing the issues faced by users, we have discussed the most common reason why the Server fails to recognize the command. You can go through the write-up and check all the listed options in it. At last, we have also shared a professional tool that will make the process effortless.
By Ashwani Tiwari
Being a Chief Technical Analyst, I am aware of the technicalities faced by the user while working with multiple technologies. So, through my blogs and articles, I love to help all the users who face various challenges while dealing with technology.