Jordan Borean
jborean.bsky.social
Jordan Borean
@jborean.bsky.social
Well that was short lived. Turns out no changes are needed in PowerShell 7 to get this working. Add `-CompilerOptions '-debug:embedded'` to the Add-Type call and ensure you have these options set in the VSCode launch config "attachDotnetDebugger": true, "createTemporaryIntegratedConsole": true
August 20, 2025 at 3:59 AM
Ever wanted to debug C# code compiled through Add-Type in PowerShell? The function Add-DebuggableType at gist.github.com/jborean93/bc... can be used in PowerShell 7 to do just that. Going to try and send a PR through so that the builtin Add-Type can do the same thing.
August 20, 2025 at 3:32 AM
Just pushed a new version of my #Ansible debugging tool ansibug to pypi and the VSCode marketplace. This new update fixes support for restarting a launched debug session but also adds support for breakpoints for task failures, unreachable hosts, or skipped tasks github.com/jborean93/an...
February 24, 2025 at 9:52 AM
Pushed a new version of my #PowerShell module OpenAuthenticode github.com/jborean93/Po.... It adds support for signing using Azure's Trusted Signing service. I've found it has been pretty easy to setup as an individual to use but a pity pwsh's trust model won't work nicely with it.
February 12, 2025 at 5:17 AM
There's the Builtin container at the root of the directory which IIRC is meant to replicate the local groups for a DC but there may be other problems here. The SeRemoteInteractiveLogonRight right on a DC is configured differently than non-DCs in which only Administrators have the right
December 19, 2024 at 6:30 PM
Ever wanted to know what data #PowerShell or other programs send to AMSI. I wrote a C# COM server implementation that logs this data as a JSON string. Had some fun learning more about COM and .NET AOT with this little project github.com/jborean93/Am...
December 13, 2024 at 6:45 AM
Weird the image didn't paste, lets try again.
December 5, 2024 at 5:27 AM
Can anyone explain this behaviour before I dig into the SIP code. #PowerShell's authenticode signature hashes the contents based on the UTF8 encoding unless the script is more than 33 characters AND a non-ASCII character is present after the 32nd character in which it uses "ANSI"
December 5, 2024 at 5:04 AM