Kevin Marquette He/Him
kevmar.bsky.social
Kevin Marquette He/Him
@kevmar.bsky.social
I sometimes do PowerShell stuff, but I used to do a lot of PowerShell stuff like creating www.powershellexplained.com
I don't know why, but my immediate curiosity was how could I trick it into running other scripts or commands on the system.
May 21, 2025 at 5:03 PM
PowerShell all the things!
November 25, 2024 at 5:21 PM
Awesome, thank you. I really appreciate it. I was mostly writing the articles that I wish I had when I was learning it.
November 16, 2024 at 11:50 AM
For anyone cutting it close, watch that time zone. It's 9:00pm on the West coast.
November 15, 2024 at 9:46 PM
Same, also first time. So many options to pick from
November 13, 2024 at 3:06 AM
Also my favorite trick to delete folders containing names longer than 255 characters.
November 2, 2024 at 6:35 PM
While I enjoy the occasional golf session, I leaned into the verbosity years ago.
October 23, 2024 at 6:02 PM
Remember that you spend easily 10x times more reading code than writing it. Lean into the verbosity for future you.

The other reason for the verbosity is because it was written for people that have never used the shell before. Lowers the bar for others to support it.
October 23, 2024 at 5:57 PM
This better?

$allXaml += (Get-ChildItem -Path SicsControls -Recurse -Filter *.xaml).FullName -NotLike '*\obj\*'

$allXaml+=(gci SicsControls *.xaml -r).FullName -NotLike '*\obj\*'

I dropped the -File because of the filter and -NotLike works on an array of values.
October 23, 2024 at 5:50 PM