Get Intune Devices with PowerShell
Recently I was working with a company that gave me a really locked down account. I wasn't use to this as I have always had some level of read only access in each system. I was unable to create a graph API application either. So, I was limited to just my account. This was a great time to use the newer command lines for graph Api as when you...
Powershell HTML Reports
From time to time, you will be asked to create a web report with data that can only be easily obtained by PowerShell. There are hundreds of modules out there that can do this, which is very nice. This blog isn't about those modules, but instead some tricks I have...
Group Policy Troubleshooting – Stale DNS
This one was a fun one that really threw me for a loop. DNS is an issue no matter where you go. Recently facebook showed the world how DNS can take everything down. DNS in your domain is very important to keep alive and healthy. Having items sit in your DNS is deadly...
Enable/Disable/Reset MFA with Powershell
How does one enable, disable, and reset a user's MFA in Office 365? I was surprised by how much is required for enabling MFA. Enable MFA The first thing we do is Get the User from the Get-MsolUser. $user = Get-MsolUser -UserPrincipalName $UPN Next, we create a Strong...