Jordan Borean's Avatar

Jordan Borean

@jborean

245
Followers
57
Following
301
Posts
03.07.2023
Joined
Posts Following

Latest posts by Jordan Borean @jborean

I would highly recommend using uv. Can manage Python installs as well as venvs and package installations. I’ve not used it on Windows yet but it’s streets ahead on nix and has replaced pyenv, pip, venv (at least the cli) for me in one nice and fast tool.

01.03.2026 18:18 👍 3 🔁 0 💬 0 📌 0
Preview
Environment.IsPrivilegedProcess Property (System) Gets a value that indicates whether the current process is authorized to perform security-relevant functions.

I think pwsh is trying to move away from marker vars like this. It’s slightly longer but there is now [Environment]::IsPrivilegedProcess you should be able to use now learn.microsoft.com/en-us/dotnet...

28.02.2026 20:23 👍 10 🔁 1 💬 1 📌 1

Yea Windows unfortunately has this problem, sorry based on your description I thought it was for *nix

26.02.2026 20:56 👍 1 🔁 0 💬 1 📌 0

You can always create a symlink in usr bin or local bin for your pwsh versioned suffixes. Ultimately the only builtin thing is pwsh and pwsh-preview and even then the rc releases seem to blur the lines between the 2.

26.02.2026 18:22 👍 1 🔁 0 💬 2 📌 0
Preview
GitHub - Devolutions/pwsh-host-rs: Rust PowerShell Hosting Library Rust PowerShell Hosting Library. Contribute to Devolutions/pwsh-host-rs development by creating an account on GitHub.

I cleaned up, modernized and improved an old pet project of mine: a .NET native host in Rust that can load and call PowerShell *in-process* from its install path, without a copy of the PowerShell SDK: github.com/Devolutions/...

26.02.2026 02:18 👍 6 🔁 2 💬 0 📌 0
Preview
Using predictors in PSReadLine - PowerShell This article describes the features and usage of Predictive IntelliSense in PSReadLine.

This is relatively new (7.3 or so) and is part of PowerShell predictors framework. PSReadLine is the one that actually implements it and does use your history. It's not part of the terminal/vscode here learn.microsoft.com/en-us/powers...

26.02.2026 01:54 👍 1 🔁 0 💬 1 📌 0

While I can’t convince people to like the syntax as it’s always a personal thing, what can cmd do that PowerShell can’t? There is very limited builtin commands to cmd and everything else is an executable that PowerShell can’t also call.

23.02.2026 03:20 👍 1 🔁 0 💬 0 📌 0

Interesting that x64 didn't work on arm64 as arm64 should be able to run x64 binaries in an emulated mode. I don't know too much about the Platform CPU mode though but hopefully you can figure it out eventually.

23.02.2026 01:27 👍 1 🔁 0 💬 0 📌 0

If you hate . so much you can call it with & :)

22.02.2026 20:31 👍 0 🔁 0 💬 0 📌 0

What's special about WebView2 that stops it from working?

22.02.2026 20:30 👍 0 🔁 0 💬 1 📌 0
WinUI 3 window with basic controls that was created from PowerShell.

WinUI 3 window with basic controls that was created from PowerShell.

Released WinUIShell v0.11.0 that uses the latest stable WindowsAppSDK 1.8.260209005. (Probably) All controls except WebView2 are supported.

Check out the examples to see what's possible!
github.com/mdgrs-mei/Wi...

#PowerShell

22.02.2026 14:14 👍 9 🔁 3 💬 1 📌 0

Just an FYI authenticode has the concept of timestamp signatures. The underlying cert may have expired but if it contains a signed timestamp during the validity period then the signature is still valid.

21.02.2026 22:35 👍 1 🔁 0 💬 1 📌 0

Heh sounds like the opposite problem I have. Glad that it looks like they might be solving that problem there.

19.02.2026 18:05 👍 1 🔁 0 💬 0 📌 0

GitHub Nuget would be great but it doesn't allow anonymous access so not good for end users wanting to install our module. GitHub OCI would be a nice option but PSResourceGet cannot publish or install from any OCI based repo that isn't ACR or MAR. I'm hoping to submit a few PRs to fix that though.

19.02.2026 06:03 👍 1 🔁 0 💬 0 📌 0
Preview
GitHub - jborean93/PowerShell-PublishTest: Testing for publishing a PowerShell module to different repositories Testing for publishing a PowerShell module to different repositories - jborean93/PowerShell-PublishTest

At work we need to publish a PowerShell module but didn't want to deal with PSGallery tokens and more permissions we need to audit over time. I've tried out GitHub Container/OCI and Nuget feeds as well as Azure Artifacts. github.com/jborean93/Po...

TLDR: Use Azure Artifacts.

19.02.2026 06:01 👍 9 🔁 3 💬 3 📌 0

PowerShell is a shell that runs in a terminal. They aren’t comparable and PowerShell can run in any terminal application and any terminal application can run any shells/console binaries.

17.02.2026 21:07 👍 4 🔁 0 💬 1 📌 0
Preview
Concerns around PowerShell 7 and community involvement · PowerShell PowerShell · Discussion #26844 I’d like to raise some concerns regarding the recent progress and communication around PowerShell and related projects. I want to emphasize that I have a great deal of respect for the team and the ...

Over the past couple of months I've grown increasingly concerned around the future of PowerShell. It seems like the days of community involvement are getting less frequent so I wrote github.com/PowerShell/P.... Would love anyone else to share their thoughts if they wish to.

17.02.2026 11:29 👍 17 🔁 6 💬 0 📌 1

If anything the pwsh side has more deps because now you have to include the pwsh runtime + the extra assemblies it ships with.

16.02.2026 08:43 👍 1 🔁 0 💬 1 📌 0

What’s the difference between pure powershell and pure C#. At some point you have your own code. You of course gave this problem if you pull in extra assemblies but the dame problem applies as to whether you do it with pwsh or C#.

16.02.2026 08:41 👍 1 🔁 0 💬 2 📌 0

As for damage I don’t think it really does over time. It’ll be just as susceptible to runtime differences but if anything it’ll be more resilient because more is checked at compile time and tools are better suited towards validating/refactoring than what pwsh and other dynamic types offer.

16.02.2026 08:24 👍 0 🔁 0 💬 1 📌 0

It’s mostly simple to do TryGet* like operations with if statements on dynamic types but even then for XML/JSON/other structured formats you typically have pretty good pattern matching abilities and even more that pattern matching is validated at compile time.

16.02.2026 08:22 👍 0 🔁 0 💬 2 📌 0

While PowerShell still has its place I see it being less and less important/useful as languages like C# and LLMs overcome the historical weaknesses of strictly types languages. The backing from MS has also been somewhat lacking which has reduced my enthusiasm in the product.

16.02.2026 07:45 👍 1 🔁 0 💬 1 📌 0

… generators have removed a lot of the dynamic nature and thus makes it easier to even require the runtime to be present.

16.02.2026 07:43 👍 0 🔁 0 💬 1 📌 0

Everything in general, the only positive I see with scripting language is the lower barrier for running from nothing. The performance, feedback loop, IDE environment, content, and community, strictly typing is typically better. With LLMs you can easily regenerate the code needed and source …

16.02.2026 07:43 👍 1 🔁 0 💬 2 📌 0

In the past I might have agreed with you but strong typing is a massive positive here. It shortens the dev loop, helps catch more issues before running the code and with LLMs it’s a lot easier to generate and prototype the code. I’ll concede it’s easier to run a script than build the code.

16.02.2026 07:34 👍 3 🔁 0 💬 1 📌 0

With modern pattern matching and type checking C# is so much better than PowerShell. Add in Spans that take away all the copies of objects and it just flies. There’s no way PowerShell would be faster here unless you are doing something really weird in C#.

16.02.2026 05:47 👍 1 🔁 0 💬 1 📌 0
Video thumbnail

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...

11.02.2026 12:13 👍 7 🔁 5 💬 1 📌 0
Preview
Approved Verbs for PowerShell Commands - PowerShell Approved Verbs for PowerShell Commands

You can use Get-Verb to see verbs that are encouraged to be used or read learn.microsoft.com/en-us/powers.... In saying that you don’t have to follow this convention, you can do whatever you want. It is just highly encouraged to do so.

10.02.2026 22:20 👍 2 🔁 0 💬 0 📌 0

Verb-Noun

10.02.2026 20:51 👍 3 🔁 0 💬 1 📌 0

Nothing a bit of AI won't help with :)

09.02.2026 03:02 👍 1 🔁 0 💬 0 📌 0