In a previous blog post, I showed how to retrieve all the Microsoft Services FQDNs, ports, and IP addresses. It's nice to know those in secure environments where not everything can go onto the internet, but how can you test if they are accessible? This blog post will show how to test most of these services using PowerShell.
Sometimes you look back at your scripts and think... Hmmm, why did I use that ?! So I reviewed some scripts, changed a few things, and updated some blog posts. Check them out if you haven't already 😉
When you are in an environment with strict internet access, you need to figure out what to open to what destination for Microsoft services like Exchange Online, Teams, Endpoint Manager, and so on. Microsoft publishes this on their website but in the blog post, I would like to show you a nice way of outputting … Continue reading Get all Microsoft IP and FQDNs for their services
Last weekend this site passed the 25K views mark! Nice to see that people read my blogs and also that I get feedback on them. Thank you all 🙂 In this blog post, I would like to tell you about how I got into IT from a young age!
Just a little fun thing for a Friday, text-to-speech! We used this many years ago at the office, sending this to the laptop of a colleague and having fun while he's trying to figure out where the voice is coming from 🙂
You have to read logs, but the Intune logs are difficult without tools like CMTrace on the user's device. (The formatting is not that nice without it) In this blog post, I will show you an easy way to read one or two specific logs, or all the logs at once, and each in its Out-Gridview console for easy filtering when searching for keywords.
For one of our customers, I needed to create a report of all Scheduled Tasks on their servers with a local or domain account configured. They needed this report because they are switching to more strict Group Policies and needed to know what user accounts should have the "Log on as a batch job" right. In this blog post, I will show you how to create that report 🙂
I used the Send-MailMessage cmdlet a lot in the past for testing Receive Connectors in Exchange or emailing reports in scheduled PowerShell scripts. When you try to use the Send-MailMessage cmdlet, it has been showing you this message for quite a while now: WARNING: The command 'Send-MailMessage' is obsolete. This cmdlet does not guarantee secure connections to SMTP servers. While no immediate replacement is available in PowerShell, we recommend you not use Send-MailMessage. See https://aka.ms/SendMailMessage for more information. In this blog post, I will show you the new way of sending emails using Send-MgUserMail.
I wrote a blog post about where you could use PowerShell scripts in Endpoint Manager here, but I didn't mention the possibility of using it in Compliance Policies. In this blog post, I will 🙂