Users are getting a certificate warning in Outlook. It happens during or after a new…
Remove Offline Address Book in Exchange through PowerShell
You like to remove the Offline Address Book (OAB) in Exchange. Is it possible to remove it through PowerShell? Yes, it is! With only one command. In this article, you learn how to remove the OAB in Exchange through PowerShell. Let’s start.
Get Offline Address Book
Let’s first get all the OABs in the organization. Run Exchange Management Shell as administrator. Run the following command.
[PS] C:\>Get-OfflineAddressBook
Name Versions AddressLists
---- -------- ------------
Default Offline Address Book {Version4} {\Default Global Address List}
Default Offline Address Book 2 (Ex2013) {Version4} {\Default Global Address List}
We have two Default Offline Address Books.
Remove Offline Address Book
We like to remove the Default OAB. Run the command and confirm with Y.
[PS] C:\>Remove-OfflineAddressBook -Identity "Default Offline Address Book"
Confirm
Are you sure you want to perform this action?
Removing offline address book "Default Offline Address Book".
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): Y
The Default Offline Address Book is removed.
Conclusion
In this article, you learned how to remove Offline Address Book in Exchange through PowerShell. If you enjoyed this article, you may also like Remove Offline Address Book (OAB) in Exchange. Don’t forget to follow us and share this article.
hello Ali
can we delete or hide the built in address lists (all rooms , all users , etc ) ?!
if yes how ?