Everything-PowerShell

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

Exchange 2010 PowerShell

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
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, 4 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, 4 yearsSeptember 6, 2019 ago
Exchange 2010 PowerShell

Exchange 2016:- Get DB size with a simple command

In Exchange, mailbox moves and cleanup happen all the time, especially when you upgrading to newer versions etc. Now when you move mailboxes and you not using a 3rd party app like Odin that sits as an extra layer, you cannot see the store size from the web console. In Read more…

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange 2010:- Remove mail from dumpster for a mailbox

In Exchange, when a user deletes mail from there mailbox, it is retained within the dumpster for the period you have setup in your environment. There may come a time when you need to clear out the dumpster for a mailbox instead of waiting for XX period of time. To Read more…

By edward, 4 years ago
Exchange 2010 PowerShell

Exchange:- Check when user mailboxes were created using PowerShell

As an IT Admin or Exchange Admin, you might have come across the question “When were the mailboxes created”. In this quick example, we will look at the script you can run to check all users in the Organization or just an individual mailbox. To check all users in Exchange, Read more…

By edward, 4 yearsJune 11, 2019 ago
Exchange 2010 PowerShell

Exchange 2010:- Seed your database from the Passive copy.

In Exchange 2010, you may notice that when you want to seed your 3rd copy of the DAG, you don’t have the option to select a source server like you have in newer versions of Exchange. It will always seed from the Active copy. To achieve this goal using the Read more…

By edward, 5 yearsMay 22, 2019 ago
Exchange 2010 PowerShell

Exchange 2010/2013/2016:- Get last logon time for mailbox in an OU

In exchange, many commands are directed at all mailboxes in the environment, but there is a time when you only want info on a specific organizational unit (OU). It is actually very easy to do, below is a snippet of a script you can use to get the last logon Read more…

By edward, 5 yearsMay 6, 2019 ago
Exchange 2010 PowerShell

Exchange 2010:- Moving an offline address with PowerShell

Here is a quick tip on how to move a few or a couple of hundred Offline address books with the Exchange Management Shell (EMS) by running a single command: If you had to use the Exchange Management Console (EMC), it will take you quite a while to do but Read more…

By edward, 5 yearsApril 24, 2019 ago
Exchange 2010 PowerShell

Exchange 2010:- Export Mailbox using a date range with PowerShell

Exporting mailboxes is great but what if you only wanted information for a certain period as you need it for whatever reason, legal, manager, etc. Well using the Exchange Management Shell (EMS) you can run the following command to export the data: null $Users = Get-Content “C:\Users\User1\Desktop\doc.csv” foreach ($User in Read more…

By edward, 5 yearsApril 18, 2019 ago

Posts navigation

Previous 1 2 3 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...