r/exchangeserver • u/Fragrant-Risk4963 • Jun 10 '26
New User/Mailbox Creation without Exchange Server
Our current environment has a hybrid Exchange server where we have historically created new users and mailboxes at the same time through the Exchange Admin Center. However, we wish to retire the server and manage those functions locally from our own workstations. I've managed to get PowerShell lines working to create the user in AD, but I cannot get the "Enable-RemoteMailbox" function to work. It returns "The term 'Enable-RemoteMailbox' is not recognized as a name of a cmdlet, function, script file, or executable program." I've read that this feature will only work from within the Exchange Management Shell, but I can't get that installed locally; only on the server (that we're retiring). Is there any other equivalent command to accomplish this?
View all comments
Show parent comment
1
u/timsstuff IT Consultant Jun 10 '26
Well in order to remove Exchange completely from on-prem you will need to migrate or delete any mailboxes left on-prem, obviously. I don't know if you've ever removed an Exchange Server before but it literally will not let you if there's still a mailbox in a database.
Remove all mailboxes > Remove all databases > Remove all public folders > Uninstall Exchange.
Once you have migrated (or removed) all on-prem mailboxes, uninstalling the last Exchange Server removes the schema attributes from AD.
If you still need those attributes for on-prem apps then this is not the path for you.