The process for connecting PowerShell to your 365 (Exchange Online) tenant has been made a little easier. Assuming you...
Search Results
Give read-only access to one or more mailbox folders
To give a user (read-only in this case) access to specific folders of another mailbox, without giving them full access...
Export list of licenced users from Microsoft 365
A simple script to export a list of licenced users from your M365 tenant: Get-MSOLUser | Where-Object { $_.isLicensed...
Change O365 Group email address
You cannot currently change an O365 group email address from within the portal, it has to be done via PowerShell. For...
Export Exchange mailbox to PST without Outlook
If you do not have access to a mailbox within Outlook (to facilitate a simple export to PST) you can do so via...
List all distributions lists and members via PowerShell
A quick script to run against your Exchange server (on-premises, or O365) to list all distribution groups along with...
Licensing mode for the Remote Desktop Session Host is not configured
Despite completing the wizards, and everything looking and installing without issue, you may find on completion of the...
Count number of folders in mailbox (Exchange or O365)
Despite there being a limitation on the number of folders an Exchange on-premises/O365 based mailbox will allegedly...
Turn off / disable BitLocker via PowerShell
I have seen a few laptops recently that have started encrypting their drives - using BitLocker - once the Windows...
Unlock domain account from the command line (or PowerShell)
If you find a domain account has been locked, you can unlock it via the command line (running as administrator)....
PowerShell RPC error using Get-WmiObject
Using a simple PowerShell script to check for low disk space on servers I encountered an RPC error ("The RPC server is...
Grant user access to list of calendars via PowerShell
If you have a user that requires access to several other user's calendars you can set the permissions using PowerShell...
