Get all Microsoft IP and FQDNs for their services

When you are in an environment with strict internet access, you need to figure out which Microsoft services to open to which destination for services like Exchange Online, Teams, Endpoint Manager, and so on. Microsoft publishes this on its website, but in this blog post, I would like to show you a convenient way to output that information to an Out-GridView or a CSV file.

Read IntuneManagementExtension logs using PowerShell

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.

Report Scheduled Tasks on servers that have local or domain accounts configured

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 required this report because they are switching to stricter group policies and need 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 🙂

Using Send-MgUserMail as the Send-MailMessage replacement

I have often used the Send-MailMessage cmdlet to test Receive Connectors in Exchange or email 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.