In this episode, we speak with Steve Lee, principal software engineer manager on the PowerShell team at Microsoft. We start with what PowerShell is and why its object-based approach is interesting, then get into what it was like open sourcing a project at Microsoft back in 2016. We discuss the transition to using GitHub and what it's like managing an open source project at scale, bouncing community with features, bugs, and requests from users, alongside Microsoft’s goals. We also talk about PowerShell and its relation to AI, before we get some insight into what we can expect from it in the near future.  

Things mentioned:

MicrosoftPowerShellOpenSSHUnixLinuxWMIWinRMDMTFPhysical Computer System ViewWS-ManAzure.NetPowerShell GalleryVisual StudioPythonGitHubPesterChatGPTDoug FinkeVisual Studio CodePowerShell Team blog

ABOUT STEVE LEE.

Steve Lee is the principal software engineer manager on the PowerShell team at Microsoft. He’s been with the company since 2000 when he started out working on Internet Explorer for Unix. More recently, his team was responsible for PowerShell Core 6, the open-source cross-platform (Windows, Linux, macOS) version of the object-oriented scripting and interactive shell, developed on GitHub.   

Highlights:

Steve Lee: I think the way we position PowerShell, it’s really a ‘glue language’, and not intended for developing full applications. Now, I do know that there are folks in the community who built very complex systems on PowerShell script and we’ll support them by all means, but it's not intended for that purpose. It’s really for— What we use within our team is really like, you're trying to test out some new .Net API. It's actually much faster to write it in PowerShell script with a few lines of code than running C# that you would have to compile and do that work. So it makes it very easy to test out new things, prototyping before you commit to writing critical proper development code.

— [0:08:46 - 0:09:22]

Steve Lee: Everyone probably saw how Bing and ChatGPT has integration. So that’s something— AI is on top of everyone's mind. And that is something that we've actually been looking at for a while. So I'm not sure if anyone is aware but, we had — even before ChatGPT, even before some other popup ones that came out, like Stable Diffusion and stuff like that — we were looking at AI several years ago before things were ready. And we actually have a plug-in model. So PSReadLine is a model that we use as the way to present the interactive experience for PowerShell users. And so one thing that we did back in, I think 7.1 — which should have been probably, what, two, three years ago — is we added a predictor plugin, so someone could actually build a predictor in C# and be able to present that through PSReadLine to the user.

— [0:27:27 - 0:28:13]  

Let us know what you think on Twitter:

https://twitter.com/consoledotdev

https://twitter.com/davidmytton

https://twitter.com/jeanqasaur

Or by email: [email protected]

About Console

Console is the place developers go to find the best tools. Our weekly newsletter picks out the most interesting tools and new releases. We keep track of everything - dev tools, devops, cloud, and APIs - so you don’t have to. 

Sign up for free at: https://console.dev

Twitter Mentions