Josh Hendricks | MVP
banner
joshooaj.com
Josh Hendricks | MVP
@joshooaj.com
440 followers 320 following 780 posts
A technology problem-solver and Microsoft MVP with an affinity for PowerShell, containers, .NET, and automation. Opinions are my own. Signal: @joshooaj.01 Blog: https://joshooaj.com GitHub: https://github.com/joshooaj
Posts Media Videos Starter Packs
Pinned
Hello Bluesky!

I’m a one-eyed Dad, husband, Oregonian, and software engineer. I used to be a licensed skydiver and scuba diver.

These days I’m a principal engineer for Milestone Systems, maintaining the MilestonePSTools #powershell module, and some devops and devx.
I don't even know what to say to that. Put it on the heaping tower of statements that should disqualify him from any political office.
a man in a suit and tie is standing with his arms crossed in a room .
ALT: a man in a suit and tie is standing with his arms crossed in a room .
media.tenor.com
I could use the PowerShell SDK to create an out-of-process runspace.

So far it's working really well! It's an internal project so I'll probably write a blog to share an example later. It's not revolutionary, but was a fun discovery allowing the use of Windows PowerShell in .NET 8.
I'm working on a #dotnet 8 project where it's infinitely easier to do some of the work in .NET Framework where we can use our SDK for video exports. And my #powershell module based on that SDK requires PowerShell 5.1. I could either use Process.Start and manage the external process myself, or...
RunspaceFactory.CreateOutOfProcessRunspace Method (System.Management.Automation.Runspaces)
Creates an out-of-process remote Runspace.
learn.microsoft.com
If I remember correctly, I would stand at the bar awkwardly failing to catch the attention of the bartender to make an order. Actually, nothing has changed! 🍻
Reposted by Josh Hendricks | MVP
Recently on Discord I saw some talk about watching for file changes. I whipped up a quick Wait-File function that allows you to setup a FileSystemWatcher in #PowerShell to monitor for specific events (Files added/changed/removed) and perform an action when detected.

Perhaps you may find it useful:
Implement a FileSystemWatcher in PowerShell
Implement a FileSystemWatcher in PowerShell. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
And since they refuse to identify themselves and the entire administration does whatever the president tells them to, they are effectively a secret police force at the whim of the president. And with nearly the same budget as the entire Canadian military. That is incredibly dangerous.
This program is designed from top to bottom to attract the most violent, aggressive, uninformed, and racist Americans, reward them economically in a way they sadly would likely never see otherwise, and disincentivize leaving for at least a few years.
I'm not saying we should feel bad for ICE employees. I'm saying the KPI's used to drive their mission and the carrot used to lure recruits combine to attract the most disturbed and/or uninformed among us, their darkest natures are rewarded, and by all appearances their failures are rewarded too.
Maybe they come from a part of the country hit hardest economically? Maybe they have a family to feed and they can't afford to be jobless, or they can't earn enough to make ends meet? Maybe they're not in a position to repay their sign-on bonus or student loan forgiveness?
The darkest desires of these people are encouraged and rewarded by the targets and incentives. And if anyone's conscience starts screaming "THIS IS WRONG", what do they do? Most of us believe we would "just quit" in their shoes. But that "just" is doing some heavy lifting. Where would it leave them?
So now they're "serving their country", they have unreasonable targets for the number of "dangerous illegals" to detain. They're poorly trained and rushed onto the streets. They're allowed to detain anyone who might be "illegal" based on looks alone with no consequences for taking the wrong people.
I think it's safe to assume the majority of recruits lean varying degrees of "right" on the political spectrum, and don't have much diversity in their news sources - if they pay much attention to the news at all. I bet a lot of them believe that they're serving their country admirably... at first.
$50-90k salary, $50k signing bonus, $60k student loan repayment, 3-month paid parental leave, and more. Ignoring the employer for a moment, that's a genuinely great gig for a lot of people - especially considering the median one-person income was ~$41k in 2023.
Jobs numbers have not been looking good, and my gut tells me that they look even worse in more "red" districts which is also wear my gut tells me a higher percentage of ICE recruits are hired from. And by all appearances, DHS are actually offering attractive compensation and benefits.
As someone who has used metrics in the past to identify trends in tech support ops and learned first-hand how it can lead to unintended consequences, I wonder about the incentives driving behavior of ICE agents, the impact on recruits, and whether any of the consequences are unintended at all.
I'm using WiFi at the moment. It's been almost a year now so I'm guessing I'll sell the house before I get around to running Ethernet 😅

It's a huge PITA to access the baseplate here and the vaulted ceilings mean no attic/crawlspace. WiFi has been pretty solid though.
It's the Reolink Video Doorbell. Onvif compatible and they have both PoE and WiFi models. I wanted something that didn't require cloud and wasn't battery powered or proprietary. Pretty reasonable price and good enough video quality.
We do some serious work with AI video language models over here.
Reposted by Josh Hendricks | MVP
Well, you can finally cross “I’ve seen a handcuffed, inflatable penis” off your bucket list
It couldn't have been more clear today that we love our country. The only hate here was for what this administration is doing to it.
Today's #nokings protest was the first protest I've attended, and it was a GREAT experience! Very well organized by the volunteers, very positive vibe from participants and tons of positive feedback from passers by.
First protest, was a great experience. Very positive response from the community driving by. Someone said there was at least 600 participants, which feels like a good turnout for The Dalles which is on the edge of deeply red eastern Oregon.
I just watched Good Night, and Good Luck (2005). If Ed were on the air today he could be making the same statement about the president and #antifa, and it would be even more true.

There are an awful lot of antifascists in this country.
"Anyone who criticizes or opposes senator McCarthy's methods must be a communist. And if that is true, there are an awful lot of communists in this country."

Edward R. Murrow, April 13, 1954