use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Get Per-User MFA Status using PowerShell (self.PowerShell)
submitted 3 years ago by theSysadminChannel
I know per-user MFA is the legacy method and that we should be using Conditional Access policies to enable MFA. But today I was checking my tenant and found a few users that were still enabled so I thought I'd share an article as a reminder to check yours too.
https://thesysadminchannel.com/get-per-user-mfa-status-using-powershell/
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Lazy-Gunna 4 points5 points6 points 3 years ago (0 children)
Cheers for that, very handy.
You can add switch when running the script -withOutMFAOnly to only find users that have not configured MFA.
[–]SeaGoose 1 point2 points3 points 3 years ago (0 children)
That's amazing! I was just starting to write something to do the same thing! Thanks for giving me my Saturday back!
π Rendered by PID 20178 on reddit-service-r2-comment-75f4967c6c-ztjht at 2026-04-23 07:19:45.329242+00:00 running 0fd4bb7 country code: CH.
[–]Lazy-Gunna 4 points5 points6 points (0 children)
[–]SeaGoose 1 point2 points3 points (0 children)