Everything-PowerShell

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

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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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
Donate

Please support my work, if you like the work I'm doing please consider donating to keep my blog going.

Follow me on Twitter
My Tweets
Top Posts & Pages
  • Exchange 2019:- Set TLS Certificate name on your receive connector.
  • Exchange 2019 - Install the anti-spam Agent
  • Exchange 2019:- SMTP responding with wrong certificate.
  • Windows PowerShell:- Remove files and folders from the Temp directory
  • Exchange 2019 - Move Transport Database to new drive.
  • PowerShell: Get all Active Directory users membership
  • Exchange 2016:- View the status of a database seeding.
  • PowerShell: Show hidden devices in Device Manager on Server 2008 R2
  • Exchange 2016:- Check last backup using PowerShell
  • Exchange:- Check when user mailboxes were created using PowerShell
Recent Posts
  • Exchange 2019 / Active Directory :- Update mobile numbers using PowerShell
  • Exchange online:- Find all mailboxes that have ActiveSync enabled.
  • Exchange 2019:- Find which ActiveSync Policy is assigned to all mailboxes
Archives
  • Oct 2022
  • Sep 2022
  • Jun 2022
  • Feb 2022
  • Jul 2021
  • Apr 2021
  • Mar 2021
  • Jan 2021
  • Dec 2020
  • Oct 2020
  • Aug 2020
  • Jul 2020
  • May 2020
  • Apr 2020
  • Mar 2020
  • Feb 2020
  • Jan 2020
  • Dec 2019
  • Nov 2019
  • Oct 2019
  • Sep 2019
  • Aug 2019
  • Jul 2019
  • Jun 2019
  • May 2019
  • Apr 2019
  • Mar 2019
  • Feb 2019
  • Jan 2019
  • Dec 2018
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
  • Contact Us
Hestia | Developed by ThemeIsle