
Building Parameters for Commands
One of my favorite things with powershell is building out splat parameters for commands through the main parameter set. Today we are going to go over how that is done. We are going to do this through the Get-childitem and get-ACL. These are some mighty commands and they can help you find permission gaps quickly and easily. Let us Building...
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...
Group Policy Troubleshooting – Delegation
A while back, a client called and told me he made a few new group policies, and they were not working as expected. He stated some policies applied to the wrong users, while another didn't apply at all to any users. He stated he set the security group correctly. When I...
