Profile avatar
samerde.day3bits.com
Microsoft PowerShell MVP that is passionate about helping others succeed with Active Directory, Entra ID, Defender XDR, and Microsoft 365. Always learning! โœ๏ธ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆโ˜• GitHub.com/SamErde Blog: day3bits.com
327 posts 1,357 followers 739 following
Regular Contributor
Active Commenter

Want to compare and contrast #performance of a #PowerShell script? There's a module for that: github.com/StartAutomat...

Work on your critical thinking skills and learn as much as you can. Train your own model.

Lesson learned through observation: do not update your ITSM at/during the end of the month. ๐Ÿ’ก Unanticipated upgrade issues can disrupt time entry and EOM close-out processes that may be time sensitive. ๐Ÿ—“๏ธ

The Microsoft Entra PowerShell module team has released v1.0.8 which resolves a few issues and feature requests. Check the release notes and go get it! github.com/microsoft...

IRSโ€™s Direct File wasn't open source while it was being developed. But somebody just made it public!

Son: "Dad, this guy has a tree house with a working door!" Me: "Wow, that's awesome! How much is he paying the door?" It was just one of those spontaneous dad joke moments that made me think of @stevenjudd.bsky.social. ๐Ÿ˜‚

Monday Motivational Minute: This week, don't just say 'I can do hard things' - remember, you *have done* hard things, and you came out stronger. Let your past wins motivate your future wins.

I slapped together a new #PowerShell module, PesterExplorer, that creates a TUI to look at your Pester run results. It leverages PwshSpectreConsole to create the TUI. Everyone knows I love #Pester. Feedback and suggestions welcome! github.com/HeyItsGil...

Cool memory from the night we made sushi and a lemon scented centerpiece of dry ice fog!

Writing #PowerShell code (or any other language)? While working on a complex problem this week, I was reminded strongly of Charles Kettering's sage advice about why we should write pseudo-code: "A problem well stated is a problem half solved." ๐Ÿ“

They say to treat your servers like cattle and not like pets, right?. This environment I'm reviewing now took the pet concept to the max, with every server named after a canine species. ๐Ÿถ Woof! ๐Ÿ˜…

Windows Advanced settings is here! We restructured the For Developers page and added new features such as File Explorer with version control ๐Ÿš€ Easily view your Git information directly in columns within File Explorer! ๐Ÿ”ฅ

We all love new features, so a common question in IT is, "when should we expect the next major version of ____?" ๐Ÿ™‹ When the #PowerShell team was asked this during the May community call, they gave an insightful answer that I appreciated. 1/3

๐Ÿ“ฆUse ๐—š๐—ฒ๐˜-๐—ฃ๐—ฎ๐—ฟ๐—ฒ๐—ป๐˜๐——๐—ก to get the parent OU of an AD object without depending on the #ActiveDirectory #PowerShell module! Thanks to a good friend who always challenges me to grow. ๐Ÿ™ @debugger.bsky.social github.com/SamErde/Powe... At least he didn't say 'do it without PowerShell!' ๐Ÿ˜‚

When you change a user's samAccountName or UPN suffix, do you also update their Exchange alias and primary email address? It is always my strong recommendation. Keeping all of the above in sync creates the best user and admin experience. ๐Ÿ’ก learn.microsoft.com/... #AD #M365

@savilltech.com has a new #GitHub #Devcontainer + #Codespaces video. I am a massive champion of this amazing tech for open source, I've contributed a PR to enable it for #PowerShell and do most of my personal module development in devcontainers now. Learn more here! www.youtube.com/watch?v=-D2B...

Exchange Server's #PowerShell cmdlets can show you a user's OrganizationalUnit, but Get-ADUser and Get-ADObject do not. Still, there are a dozen other ways that can use regex, split, or trim to get the OU from the user's DN. I think this might be one of the simplest ways:

I don't know why it took me so long to discover this, but you can create shortcuts in VSCode to your "Show Additional Commands From PowerShell" commands. This means I can use @seeminglyscience.com `ConvertTo-SplatExpression` with a shortcut!

Me: "I'm rocking Sleep Token's new album that just dropped today. Anyone else a fan?"๐Ÿค˜ @devclate.bsky.social: "More a fan of PRT.. well not as much today lol" Me: "There's a band called Primary Refresh Token?!"๐Ÿ˜‚ Him: <Muffled shouts and thuds as he fights w/ Teams & hybrid user PRTs.> ๐Ÿ˜‚

Does your organization or company need to improve #PowerShell skills for SysAdmins and IT Pros? Bring me in for 3-5 days of intense, hands-on classes. Content is client-driven and highly customized.

Sometimes it helps to know if your #PowerShell script is running in a non-interactive session, so here's a gist to check that! Try it in your scheduled tasks, GitHub actions, or GitLab CI/CD. What other conditions would you check against? gist.github.com/SamE...