by edward | Sep 10, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
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...
by edward | Sep 6, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
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...
by edward | Sep 6, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 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...
by edward | Aug 29, 2019 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell
On one of my client’s server running Windows Server 2012 R2, when you launched PowerShell it would immediately crash with the error: and this would create windows events non-stop on the server as follows: At first you think you have the famous PowerShell Virus...
by edward | Aug 27, 2019 | Exchange 2019 PowerShell, Exchange 2016 PowerShell
With the attack on RDP getting more and more each day, many Admins are forced to use remote tools to get onto servers. Managing your exchange 2019 server or legacy servers does not require you to login to the desktop, you can use remote PowerShell and because the...
by edward | Aug 27, 2019 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell
Recently we had a customer that wanted to turn off Netbios on all servers for all interfaces. StackOverflow had a nice script that did this with ease, here is the script: https://stackoverflow.com/questions/34387413/command-line-disable-netbios $i =...
by edward | Jul 20, 2019 | Exchange 2019 PowerShell, Exchange 2019
Quick tip: In your organization, you get a call from a departmental managers secretary to advise he/she forget to set there Out of Office and have requested you to do so. To set it, quickly launch the Exchange Management Shell (EMS) and run the following command:...
by edward | Jul 20, 2019 | Exchange 2019 PowerShell, Exchange 2019
Quick tip: If you want to change your Deleted Item Retention on your mailbox database, you can do so running a simple command in PowerShell using the Exchange Management Shell: Set-MailboxDatabase -Identity “Mailbox Database Name” -DeletedItemRetention 30...
by edward | Jul 20, 2019 | Windows Server 2016 PowerShell, Exchange 2016
If you are running Exchange, you are aware that you need to exclude certain folders, processes etc. from scanning for Exchange to run optimally. Now if you have System Center Configuration Manager (SCCM) in your environment, adding exclusions is easy and you can paste...
by edward | Jul 6, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
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...