Everything-PowerShell

  • Home
  • Exchange 2019 PowerShell
  • Exchange 2016 PowerShell
  • Exchange 2013 PowerShell
  • Exchange 2010 PowerShell

edward

Exchange 2019 PowerShell

Exchange 2019:- Don’t forget the cmdlets are changing.

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 Read more…

By edward, 4 years ago
Exchange 2019 PowerShell

Exchange 2019:- Create a Room mailbox using the Exchange Management Shell

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.

By edward, 4 years ago
Exchange 2013 PowerShell

Exchange 2019:- Change timeout value of OWA

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 Read more…

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2019:- Reset RBAC to default

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 Read more…

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2016:- Check last backup using PowerShell

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.

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2016:- Remove mailbox database fails.

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 Read more…

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2019:- Resume mailbox database copy

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 Read more…

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2019:- Export Calendar to PST

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 Read more…

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2010 and higher:- Fix a DAG’s ContentIndexState that failed

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.

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2019:- Find all mailboxes access rights

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, Read more…

By edward, 4 years ago

Posts navigation

1 2 … 8 Next
Recent Posts
  • Exchange 2019:- Find Inactive Mailboxes
  • Exchange 2019:- Find all groups with Moderation using PowerShell
  • Exchange 2019:- Enable Moderation on a Distribution group and set a Moderator
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

  • About Us
  • Blog
Hestia | Developed by ThemeIsle
 

Loading Comments...