Octocat https://gist.github.com/jdhitsolutions
You might find useful #PowerShell snippets, code, or inspiration in my GitHub gists.
Octocat https://gist.github.com/jdhitsolutions
You might find useful #PowerShell snippets, code, or inspiration in my GitHub gists.
Cooking a major update to WinUIShell.
I've just finished fixing all the build errors caused by my C# source generator. Thanks to that, all WinUI3 controls will be supported in the next release. Yes, all of themπ
This example is one of my favorites, ContentDialog.
github.com/mdgrs-mei/Wi...
While #Pester testing a #PowerShell function with Open-ExcelPackage -Create I ran into a little bother, always best to share the goodies we learn.
Draft available here:
github.com/pauljnav/pau...
One to remember;
Gemini saved-info instructions
gemini.google.com/saved-info?h...
blog posted covering progression of an AST based "Get-FunctionName"
Thank you to @mdgrs.bsky.social for input.
pauljnav.github.io/2026/02/08/U...
blog posted covering progression of an AST based "Get-FunctionName"
Thank you to @mdgrs.bsky.social for input.
pauljnav.github.io/2026/02/08/U...
draft updated, significant but still a draft - Ill finish and post tomorrow. Thank you @mdgrs.bsky.social for your review time and feedback.
github.com/pauljnav/pau...
interesting, for a function to appear in the FunctionDefinitionAst, you only need this pattern:
function dosomething {
A2:
Add basic syntax faults into "sample.ps1" and tests show it's ScriptBlockAst remains intact, and $ast.FindAll() continues to surface FunctionDefinitionAst for each filter/function that is defined in the parsed script.
FYI: $FunctionDefinitionAst | % Name
Get-SystemReport
Get-Timestamp
etc
A1:
Testing shows a script that dot sources has a cvalid ScriptBlockAst and no FunctionDefinitionAst, ergo the filters/functions defined in a dot sourced file do not surface.
For $ast.FindAll() to surfaces a FunctionDefinitionAst, the function needs to be explicitly defined in the parsed script.
Thanks a lot... Great questions as your thinking about encountering the not happy path.
Testing in progress - answers shortly..
Hi @mdgrs.bsky.social
I have saved the draft to github. Feel-free to take a look and critique it.. thank you.
The core is what I want to show, earlier version worked, but was not as good as the later version (as time passes, we get better). And more checks in progress.
github.com/pauljnav/pau...
Appreciated, thank you.
Thanks for the like @mdgrs.bsky.social
I'm working on a blog post covering my iterations on this small function. Could I ask you for some review time on it when I get it ready ?
Improved PesterUtility\Get-FunctionName.ps1
Get-FunctionName can optionally search nested/child functions using the `IncludeNestedFunctions` switch parameter.
#PesterUtility
π£ How we built the Codex agent loop
Ever wonder what Codex does between your prompt and its response?
Each turn assembles inputs, runs inference, executes tools, and feeds the results back into context until the loop ends
https://openai.com/index/unrolling-the-codex-agent-loop
Perfect ages for it.. Go have fun
Happy New Year James
@andrewpla.tech something is rocking here
x.com/i/status/200...
Finke is at it.....
WhatsApp AI is too funny.
βUNLESS someone like you cares a whole awful lot, nothing is going to get better.
It's not.β
Dr Seuss
The Lorax cradles planet Earth, surrounded by a bleak and broken environment illustrates the message that UNLESS we care to save our planet, our home will be forever harmed by the greedy few.
oh yea.. love a deep dive
Ever wonder why we call them "Cmdlets" in PowerShell instead of just "Commands"?
www.jsnover.com/blog/2025/12...
#PowerShell
"have the courage to be weird!"
We as #PowerShell users benefit from a relatively noise-free search environment because of Jeffrey's decision and his skills at moving it all forward.
Thanks @jsnover.com
www.jsnover.com/blog/2025/12...
20 days to go! If you have an idea worth sharing, now is the moment to shape the #PSConfEU 2026 agenda.
βοΈ Submit: sessionize.com/psconfeu26
#PowerShell #IT #Germany #Europe #Wiesbaden #Automation
@cloudflare.social you ok mate?
Output redirection uses $OutputEncoding.
Love such insights from @mrpowershell.com
Someone might take joy from a bit of simple secret handling
pauljnav.github.io/2025/11/13/S...
You've been waiting for it, and now itβs here!
The sponsorship brochure for #PSConfEU 2026 is out.
π¦ 4 packages give you the widest range of opportunities!
π psconf.eu/wp-content/upload...
#automation #IT #Wiesbaden #Germany #PSConfEU
winget, the Windows package manager has an export command:
`winget export mypks.json`
Your welcome...