Sep 14 2023 09:29 AM
Sep 14 2023 09:29 AM
I got this error when I use powershell to create new maibox.
Then I check related documents below:
Error when you create a mailbox in Exchange Server 2010: The term New-Mailbox is not recognized
But need more information about Resolution's cmdlet.
Is there have any tutorial or information.
Sep 14 2023 11:34 PM
Sep 14 2023 11:41 PM
Here are step-by-step instruction how you can use the https://learn.microsoft.com/en-us/exchange/troubleshoot/administration/term-new-mailbox-not-recogniz...
I am guessing that you have Exchange 2010 Server.
Exchange Management Shell (EMS):
1. Open the Exchange Management Shell:
- Click the Windows "Start" button.
- In the search bar, type "Exchange Management Shell."
- Click on "Exchange Management Shell" in the search results to open it.
- Open it in eleveted mode (as administrator)
2. Identify Current Permissions:
- In the Exchange Management Shell, run the following command to list your existing RBAC
3. Change Permissions:
- To change permissions, you'll typically create a new management role assignment. For example, to assign the "Mail Recipients" role to a user, use this command:
New-ManagementRoleAssignment -Role "Mail Recipients" -User username
Replace `username` with the actual username of the user you want to assign the role to.
4. Verify Changes:
- After making changes, verify that the permissions have been applied correctly. Use the `Get-ManagementRoleAssignment` command again to check the updated permissions.
Running the Setup.com Command:
1. Open a Command Prompt:
- Press `Win + R`, type `cmd`, and press Enter to open a Command Prompt window.
2. Navigate to the Exchange Installation Directory:
- Use the `cd` command to navigate to the directory where Exchange Server is installed. The default path is usually `C:\Program Files\Microsoft\Exchange Server\V14\`.
cd C:\Program Files\Microsoft\Exchange Server\V14\
3. Run Setup.com with /PrepareAD:
- To reset Active Directory split permissions to the default Exchange 2010 shared permissions, use the following command:
4. Follow On-Screen Instructions:
- The `PrepareAD` process will prompt you to confirm certain actions. Follow the on-screen instructions to complete the process.
5. Restart Services:
- After running the command, restart Exchange services to ensure the changes take effect. Run the following command to restart the Exchange service host:
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.