Office 365: Grant a User Full Mailbox Access to all Mailboxes
Sep02

Office 365: Grant a User Full Mailbox Access to all Mailboxes

KB ID 0001466 Problem Obviously there are some security concerns about having a user with full mailbox access to all mailboxes! But that aside, I was using a third party Migration tool last week, and it needed to connect to every mailbox with full access rights to perform the migration. So this is how I did it; Solution Firstly you need to connect to your Office 365 tenant with PowerShell; Connect to Office 365 Exchange PowerShell Now...

Read More
Exchange 2019 / 2016 Manage Remotely via PowerShell
Aug30

Exchange 2019 / 2016 Manage Remotely via PowerShell

KB ID 0001465 Problem Since Exchange 2013 we have been able to manage Exchange remotely through the Exchange Admin Center, but what if you want to use the Exchange Management Shell remotely? Install Exchange Management Tools This is not just the Management Shell, this will also install the Toolbox and additional help. There are few prerequisites, but to install from a normal PowerShell prompt; Enable-WindowsOptionalFeature -Online...

Read More
PowerShell: Finding Stale User and Computer Accounts
May15

PowerShell: Finding Stale User and Computer Accounts

KB ID 0001438 Problem I do this a lot, (usually prior to big migrations), most organisations have no mechanism for removing old users and computers from Active Directory, some don’t even disable the accounts. Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike “*” -and Enabled -eq $true } -Properties LastLogonDate | Select-Object @{...

Read More
Exchange: No Arbitration Mailboxes?
May11

Exchange: No Arbitration Mailboxes?

KB ID 0001434 Problem I was doing a ‘mop up’, after an Exchange install problem, (post to follow.) And went to look at the ‘Arbitration’ mailboxes in the clients Exchange Organisation. And they could not be seen? Get-Mailbox | -Arbitration Get-MailboxDatabase | Get-Mailbox -Arbitration Solution In my case, it was because the Exchange server was in a ‘Child Domain’ and the...

Read More
PowerShell: Cannot Be Loaded Because Running Scripts is Disabled
Mar24

PowerShell: Cannot Be Loaded Because Running Scripts is Disabled

KB ID 0001417 Problem If you’ve arrived here, you are trying to run a script, and you cant; PS C:\Users\{User-name}> .\{script-name}.ps1 .\{script-name} : File C:\Users\{User-name}\{script-name} cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + .\{script-name} + ~~~~~~~~~~~~~~~~~~ +...

Read More