Sam Erde's Avatar

Sam Erde

@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! โœ๏ธ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆโ˜• OU=NC,OU=USA,DC=NA,DC=WORLD GitHub.com/SamErde Blog: day3bits.com

1,408
Followers
753
Following
485
Posts
24.04.2023
Joined
Posts Following

Latest posts by Sam Erde @samerde.day3bits.com

Preview
homer simpson from the simpsons is driving a car and says d' oh Alt: homer simpson from the simpsons is driving a car and says d' oh

Doh! Plan mode in Visual Studio Code is AMAZING and I've been sleeping on it until this past month! ๐Ÿคฆโ€โ™‚๏ธ If you "could'a had a V8" like me, go try it out right now! It researches your codebase, asks clarifying questions, and is far more efficient in the long run. ๐Ÿ”ฅ๐Ÿ‘จโ€๐Ÿ’ป @vscode.dev

10.03.2026 21:07 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Haha, yep!

04.03.2026 09:33 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Aye, that sound like this could help! Please let me know if you run into any issues in that environment. I havenโ€™t tested in Azure Automation Runbooks myself yet. Thanks!

04.03.2026 09:32 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

My QoL is gonna be improving ๐Ÿ“ˆ๐Ÿš€

04.03.2026 02:03 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Well you just made my day! So glad it will be useful to you and hopefully others.

04.03.2026 02:05 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

It has been a long time since I started working on this side project, and DLL Pickle is finally ready for an RC! This #PowerShell module is a DLL pre-loader that helps you avoid version conflicts when connecting to Microsoft Az, Graph, EXO, Teams, and SPO!
github.com/SamErde/DLLP...

04.03.2026 01:14 ๐Ÿ‘ 17 ๐Ÿ” 7 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 1

Not getting quality sleep is rough! Iโ€™ve been in a rut of that since the holidays. Appreciate this boost!

03.03.2026 02:44 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image Post image Post image Post image

Behind every great community are people who show up, serve, teach, and lead. ๐Ÿ™Œ

๐Ÿ‘ฅ The PowerShell Community Award nominations are open โ€” and we want to celebrate those making a real impact.

Nominate them. Honor them.

๐ŸŽ–๏ธ Because community deserves recognition.

survey.sogolytics.com/survey/form?...

24.02.2026 02:23 ๐Ÿ‘ 9 ๐Ÿ” 9 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1
Preview
Secure DNS with DoH: Public Preview for Windows DNS Server | Microsoft Community Hub Bring encrypted, authenticated DNS to Windows DNS Server with our new DoH public preview, designed for Zero Trustโ€‘minded enterprises that want stronger...

Public Preview of DNS over HTTPS (DoH) for Windows DNS Server aka.ms/dohserver

22.02.2026 00:01 ๐Ÿ‘ 3 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I left a couple of omega-3 fish oil supplements in my pocket once. They survived the wash but not the dryer. ๐Ÿ˜ณ The dryer reeked for weeks after that. ๐Ÿ˜ญ

17.02.2026 09:57 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

+1 ๐Ÿ˜€

17.02.2026 02:38 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
The best release yet ๐Ÿš€ v29.4.0

๐Ÿ“ฆ v29.4.0

Bug Fixes

* allow setting from configuration
* fieldalignment: adjust field order
* initialize test correctly
* modernize: swap interface{} with any
* pwsh: only render prompt when needed
* pwsh: remove unneeded runspace tracking
* stream: save cac

#oh-my-posh #oss #cli #opensource

16.02.2026 15:38 ๐Ÿ‘ 4 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

You got this!

17.02.2026 02:28 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
New ClickFix attack abuses nslookup to retrieve PowerShell payload via DNS Threat actors are now abusing DNS queries as part of ClickFix social engineering attacks to deliver malware, making this the first known use of DNS as a channel in these campaigns.

New ClickFix attack uses DNS to deliver a PowerShell script. Just an example of how DNS logging has become more important than ever.

16.02.2026 18:45 ๐Ÿ‘ 4 ๐Ÿ” 3 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 2

Yes, it has been hit or miss for a long time for me. Restarting the extension host usually fixes things.

13.02.2026 11:42 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Azure/artifact-signing-action Contribute to Azure/artifact-signing-action development by creating an account on GitHub.

This is kind of niche, but if you use #Github #Actions federated OIDC with #az cli, #azure #PowerShell, or #azure artifact signing, use this as an alternative to the azure/login github action to shave 15-20 seconds off your build times:
github.com/Azure/artifa...

12.02.2026 23:42 ๐Ÿ‘ 4 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Intune Documentation as Code | Joe Loveless Configure and export Intune documentation automatically, converting JSON files to Markdown. All made possible with PowerShell scripts, and GitHub Actions.

Good morning everyone. I went through and documented a new process on automating your documentation for Intune policies using PowerShell to convert JSON to Markdown and using GitHub Actions to keep the docs up to date automatically.

joeloveless.com/blog/intune-...

#intune #powershell #github

01.02.2026 13:08 ๐Ÿ‘ 7 ๐Ÿ” 2 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

๐Ÿ’ก Here's a surprising travel hack that you might not have heard: if you can't connect to the captive portal for airplane or hotel WiFi, if the page simply won't load, just open your browser and visit https://neverssl.com. It always gets things moving! ๐Ÿ›œ๐Ÿ›ซ

29.01.2026 02:56 ๐Ÿ‘ 4 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Join the Digital Identity Internals Discord Server! Check out the Digital Identity Internals community on Discord - hang out with 22 other members and enjoy free voice and text chat.

I just shared on the Directory Services Internals Discord server. These people would know, if anyone!
discord.gg/ZnSrxmcRz

28.01.2026 18:23 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Let me know what you find!

28.01.2026 18:21 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Setting Up Your PowerShell Development Environment: Part 1 - Folder Structure Create a clean separation between work and personal projects with an organized directory structure

Do you like waffles and PowerShell? Check out my new blog series about setting up your PowerShell development environment. I'm sharing how you can effectively manage work and personal projects without getting confused or compromised. ๐Ÿง‘โ€๐Ÿ’ป Part 1: folders.

27.01.2026 13:00 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Travel has been a nightmare this week. Iโ€™m on day 2 of trying to get to the @microsoft.com Security Engineering Airlift. Cancelled flights, delays, flight crew MIA, and missed connections. โ›…๏ธ It could always be worse, right?!

27.01.2026 12:40 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

50% of the time I remember `-Filter *` all the time!

23.01.2026 21:28 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I am in this picture.

Group photo! Yay!

23.01.2026 21:28 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

No doubt!

23.01.2026 21:27 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Doug Rickard wrote to explain how Bones got its name. In 1988, he was working at MIT, with the Project Athena group. He was trying to get permission from the State Department to export Kerberos to Bond University in Australia. The State Department wouldn't allow it--not with DES included. To get it out of the country, they had to not only remove all calls to DES routines, but all comments and textual references to them as well, so that (superficially, at least) it was non-trivial to determine where the calls were originally placed.
To strip out all the DES calls and garbage, John Kohl wrote a program called piranha. At one of their progress meetings, Doug jokingly said, "And we are left with nothing but the Bones." For lack of a better term, he then used the word "Bones" and "boned" in the meeting minutes to distinguish between the DES and non-DES versions of Kerberos. "It somehow stuck," he says, "and I have been ashamed of it ever since."

Doug Rickard wrote to explain how Bones got its name. In 1988, he was working at MIT, with the Project Athena group. He was trying to get permission from the State Department to export Kerberos to Bond University in Australia. The State Department wouldn't allow it--not with DES included. To get it out of the country, they had to not only remove all calls to DES routines, but all comments and textual references to them as well, so that (superficially, at least) it was non-trivial to determine where the calls were originally placed. To strip out all the DES calls and garbage, John Kohl wrote a program called piranha. At one of their progress meetings, Doug jokingly said, "And we are left with nothing but the Bones." For lack of a better term, he then used the word "Bones" and "boned" in the meeting minutes to distinguish between the DES and non-DES versions of Kerberos. "It somehow stuck," he says, "and I have been ashamed of it ever since."

A fun bit of tech history from "The Moron's Guide to Kerberos" (2007). wpollock.com/AUnixSe...

23.01.2026 21:21 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Get-ADUser -SearchBase "OU=Users,OU=Tier2,DC=int,DC=day3bits,DC=com" -Filter *

Get-ADUser -SearchBase "OU=Users,OU=Tier2,DC=int,DC=day3bits,DC=com" -Filter *

It's funny how quickly we forget things that we don't use frequently. It may have been pre-coffee, but still--this morning I had to be reminded how to use PowerShell find all Active Directory users in a specific OU. ๐Ÿ˜‚ Never stop [re-]learning! โ˜•

22.01.2026 15:52 ๐Ÿ‘ 9 ๐Ÿ” 0 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0
Release Notes
1.2.0 - January 14th, 2026
Features
This release migrates the AgentId command set from MSIdentityTools into the entraโ€‘powershell repository, delivering a productionโ€‘ready implementation for managing Agent Identity Blueprints and Agent Identities in Microsoft Entra ID.

Bug Fixes:
Enabled support for the -PreAuthorizedApplications parameter in the Set-EntraBetaApplication cmdlet, enabling users to configure pre-authorized applications for an Entra application.
The InvitedUser and InvitedUserMessageInfo parameter types have been updated. New New-EntraBetaInvitation commands now use interfaces from Microsoft.Graph.Beta.PowerShell.Models, while New-EntraInvitation commands use interfaces from Microsoft.Graph.PowerShell.Models.

Release Notes 1.2.0 - January 14th, 2026 Features This release migrates the AgentId command set from MSIdentityTools into the entraโ€‘powershell repository, delivering a productionโ€‘ready implementation for managing Agent Identity Blueprints and Agent Identities in Microsoft Entra ID. Bug Fixes: Enabled support for the -PreAuthorizedApplications parameter in the Set-EntraBetaApplication cmdlet, enabling users to configure pre-authorized applications for an Entra application. The InvitedUser and InvitedUserMessageInfo parameter types have been updated. New New-EntraBetaInvitation commands now use interfaces from Microsoft.Graph.Beta.PowerShell.Models, while New-EntraInvitation commands use interfaces from Microsoft.Graph.PowerShell.Models.

>_ The Microsoft.Entra PowerShell module is updated to v1.2.0 with bug fixes and AgentId commands from MSIdentityTools. ๐Ÿชช

Also: v1.1.0 removed the version pinning of Microsoft Graph PowerShell modules from 2.25.0 so you can use newer versions now. ๐Ÿ‘ github.com/microsoft...

15.01.2026 21:58 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Very nice!

11.01.2026 12:40 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
A screenshot of Windows Terminal running PowerShell 7 with default settings (no profile or nerd fonts). It shows several examples of using the Format-TimeSpan function:

PS C:\> Format-TimeSpan -TimeSpan ([TimeSpan]::Zero)
0 seconds
PS C:\> New-TimeSpan -Milliseconds 13500 | Format-TimeSpan -Abbreviate
13.50s
PS C:\> New-TimeSpan -Days 1 -Hours 2 -Minutes 30 -Seconds 0 | Format-TimeSpan
1 days 2 hours 30 minutes
PS C:\> $TimeSpan = New-TimeSpan -Milliseconds 1500 -Seconds 13 -Minutes 3
PS C:\> $TimeSpan | Format-TimeSpan -Abbreviate
3m 14s
PS C:\>

A screenshot of Windows Terminal running PowerShell 7 with default settings (no profile or nerd fonts). It shows several examples of using the Format-TimeSpan function: PS C:\> Format-TimeSpan -TimeSpan ([TimeSpan]::Zero) 0 seconds PS C:\> New-TimeSpan -Milliseconds 13500 | Format-TimeSpan -Abbreviate 13.50s PS C:\> New-TimeSpan -Days 1 -Hours 2 -Minutes 30 -Seconds 0 | Format-TimeSpan 1 days 2 hours 30 minutes PS C:\> $TimeSpan = New-TimeSpan -Milliseconds 1500 -Seconds 13 -Minutes 3 PS C:\> $TimeSpan | Format-TimeSpan -Abbreviate 3m 14s PS C:\>

Have you ever wanted to automatically format a #PowerShell timespan as a string with the most relevant unit labels? Feel free to use my new ๐—™๐—ผ๐—ฟ๐—บ๐—ฎ๐˜-๐—ง๐—ถ๐—บ๐—ฒ๐—ฆ๐—ฝ๐—ฎ๐—ป function! github.com/SamErde/P...

04.01.2026 23:30 ๐Ÿ‘ 6 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0