Advertisements

Author: edward

As you would have noticed in not only Exchange 2019 but 2016 that when you type a certain command you will receive a nice yellow warning to use the new cmdlet instead. For example, I ran the following command: Get-TransportServer And as you can see below, the warning: when you run the new cmdlet that […]

Advertisements
Read more

Quick Tip: If you want to create a room mailbox, you can do so with a simple command: New-Mailbox -Name MyRoom -DisplayName “My Room” -Room To Validate your setup, you can run the following command: Get-Mailbox myroom | fl Name,RecipientTypeDetails There you have it, simple enough. Hope it helps.

Read more

In the world we live in today, information is vital and having your email open for everyone to view is also not such a good thing. In Exchange you have the option to set a timeout value so that if you are in-active for a certain period then the OWA page will log you out. […]

Read more

I have a strange problem in my lab where my main account is part of the org admin group however I cannot run half the commands, I thought I would reset everything with the commands below but have not seen any change. Still cannot do much. However in my Exchange 2016 lab, it worked just […]

Read more

Here is a quick tip for checking the last backup on an Exchange database using the Exchange Management Shell (EMS): Get-MailboxDatabase -Status | FT name, Last* Simple enough and there you have the information. Hope it helps.

Read more

Ever had it where you want to remove a database and it just doesn’t work? Well this happened this morning. I got a weird error saying that the database is in a backup status? Well it wasn’t but here is the error: This is a lab so no backups are running, to fix the above […]

Read more

When you do maintenance on an Exchange server, you would expect everything to be fine after a reboot? Correct? Well in some cases that does not happen. For example, one of my Database availability Groups (DAG) had the passive copy all in a Suspended state. How do you check the DAG status? Get-mailboxdatabasecopystatus * To […]

Read more

Quick tip when exporting certain folders to a PST file in Exchange. Ensure that RBAC is setup for the Mailbox Import/export to work. Ensure your share is setup. Here is the command to export, just like a normal PST export but you including folders” New-MailboxExportRequest -Mailbox User1 -IncludeFolders “#Calendar#” -FilePath \Ex2019\pst\user1Calendar.pst If you go to […]

Read more

Quick tip: If you have a DAG with a ContentIndexState showing failed, you can fix it with a simple command in the Exchange Management Shell (EMS): Update-MailboxDatabaseCopy -Identity “DAGNAME\store” -CatalogOnly This will then start a re-seed and it should return to a healthy state once complete.

Read more

Ever wanted to quickly find all mailboxes and view the mailbox rights for each of those? Now you can with a PowerShell command that will show it to you. Here is the command below: ForEach($mailbox in (Get-Mailbox)) { Get-MailboxFolderPermission -Identity “$($mailbox):\calendar” | fl Identity,AccessRights,FolderName } There you have the output, I only have 3 accounts […]

Read more