Everything-PowerShell

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

Sep 2019

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, 3 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, 3 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, 3 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, 3 years ago
Exchange 2010 PowerShell

Exchange 2010 and higher:- Test-ReplicationHealth

Here is a quick tip on how you can check the health of your server that is part of a database availability group (DAG). The command to run is as follows using the Exchange Management Shell (EMS): Test-ReplicationHealth -Identity <ServerName> Below is the 2010 one: and now for the Exchange Read more…

By edward, 3 years ago
Exchange 2010 PowerShell

Exchange 2010 and higher:- Remove a database copy and database using PowerShell

Removing an Exchange Database copy or a database should not be hardwork, especially when it can be done with the Exchange Management Shell. **Take note, if you have circular logging enabled, you need to firstly disable it before you can remove an Exchange database copy** To remove a mailbox database Read more…

By edward, 3 yearsSep 6, 2019 ago
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
  • PowerShell:- Start Outlook from command line.
  • Exchange 2016:- Check last backup using PowerShell
  • Exchange 2019:- Set TLS Certificate name on your receive connector.
  • PowerShell:- Create an email using PowerShell
  • Windows PowerShell:- Changing time on a Server
  • Exchange 2019:- SMTP responding with wrong certificate.
  • Exchange 2019 - Check the Services with PowerShell
  • Exchange 2019 - Update the Autodiscover Internal URL
  • PowerShell:- Find a ProcessID and kill the process
  • PowerShell:- Enable Active Directory Recycle Bin gives error
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