PowerShell

Check whether a port is open on a bulk list of endpoints – and FAST!

Hooray and welcome to 2023! May all of your dreams come true this year, and if not, may we at least be sheltered from P1 outages and other disasters, either natural or man-made…! 🤞🙏🤞🙏🤞🙏🤞🙏🤞🙏🤞🙏🤞🙏🤞🙏🤞🙏 Recently I needed to see if RDP was open on hundreds of machines. No trouble I thought, and wrote a wee …

Check whether a port is open on a bulk list of endpoints – and FAST! Read More »

Loading

Microsoft 365 cross-tenant migration

Hello! Long time no… 🍻😊🍻 I thought I would share some PowerShell I used during a recent cross-tenant migration. Firstly, the Microsoft documentation is really good and got the journey off to a good start: https://docs.microsoft.com/en-us/microsoft-365/enterprise/cross-tenant-mailbox-migration?view=o365-worldwide PLEASE NOTE: Following is some fairly raw PowerShell. You can’t just press Go! You’ll need to understand and update …

Microsoft 365 cross-tenant migration Read More »

Loading

Active Directory – Export Groups and Members to a CSV file (with email addresses)

Greetings! 👀 After a comment on my initial post asking for user email addresses in the output, I ended up getting a bit confused for 4 hours while trying to achieve the goal (it was a Friday night so several beers were involved) 🍻 !! When I started seeing the dreaded pages of red errors …

Active Directory – Export Groups and Members to a CSV file (with email addresses) Read More »

Loading

Runbook: Sync Shared Mailbox accounts with an Azure AD Group

Hey! I hope you are well.. 🤘 🙂 🤘. This script was a result of the following ponderings: How to monitor and manage the deletion of Blocked (Disabled) and Guest accounts in Azure AD. I have a Dynamic group for ‘Blocked (Disabled) users’, but members include valid Shared Mailbox accounts. What about Guest users… should …

Runbook: Sync Shared Mailbox accounts with an Azure AD Group Read More »

Loading

Scroll to Top