Connection Strings

PowerShell Roadmap Shows Scripting Language Straddling Developer, Operations Roles

PowerShell Core, the version aimed at providing scripting capabilities across a number of platforms, will eventually supersede the Windows-only version. A beta is available now, with a full release planned for end of this year.

I hate the term DevOps. It's actually a great term, when it comes to one of those mashup words that actually means something. I just hate the whole idea of the deliberate separation using the tired old capital O in the middle of it. It messes with my editorial sensibilities.

So, ugly word in print, great word in what message it tries to convey. If there is a definitive Microsoft technology for DevOps, it's PowerShell. Even though it follows that ugly middle capital convention, the scripting language is getting nearer and nearer to that middle ground, straddling both the developer and IT worlds in equal measure. It's useful in both camps, and looking at a recent roadmap from the PowerShell team, it's only becoming more so.

A look at the roadmap shows two versions. The one called Windows PowerShell is the one most Windows admins are familiar with, which is "built on top of .NET Framework." The other, PowerShell Core, stretches out the traditional language to macOS and Linux platforms and does it using some of Microsoft's developer tooling capabilities. The idea is to maintain some compatibility between the two, writes Microsoft Program Manager Joey Aiello, in the roadmap blog post

"To that end, we're leveraging a technology called .NET Standard 2.0 to provide binary compatibility with existing .NET assemblies," he explains. "Many PowerShell modules depend on these assemblies (often times DLLs), so .NET Standard allows them to continue working with .NET Core."

As Aiello explains further, the PowerShell team has been able to maintain quite a bit of compatibility between the versions, but there's still some work to do, as some Windows-oriented modules have yet to be ported to .NET Core. The resulting work so far is encapsulated in a PowerShell Core beta that's available now via GitHub here, and can be run alongside with a current working install of PowerShell without issues. Aiello notes that the goal is to have a solid release by the end of this year.

Version 5.1 of Window PowerShell is likely to be the last one, which will continue to be supported as Windows 10 and Window Server 2016 are supported. But, he says there will likely be no "major feature updates or lower-priority fixes," as PowerShell Core becomes the officially endorsed Windows scripting language.

Where's the Dev part in DevOps? Back in May, the PowerShell team released a 1.0 version of its PowerShell for Visual Studio Code extension that allows for creating, editing, and debugging PowerShell scripts natively in VSC. For those who prefer the full VS IDE, it's not there yet, but Posh Tools developed an extension as an option, downloadable from the Visual Studio Marketplace. (Current fix and update info on new builds are here; the most recent is a July maintenance release.)

In the meantime, there's lots of good PowerShell content over at VSM's sibling site, MCPmag.com, from contributor Boe Prox. You can find all of his stuff starting here.

Speaking of DevOps, follow Microsoft's DevOps blog. Brian Harry's blog has been a great source of VSTS info, but you'll get more DevOps nuggets on working with VSTS, TFS, version control, CI/CD, and more from the rest of the team here.

Here are a handful of other links we've run across that might be useful to you, in no particular order and definitely not conforming to any particular theme:

Know of an interesting link, or does your company have a new or updated product or service targeted at Visual Studio developers? Tell me about it at [email protected].

About the Author

Michael Domingo is a long-time software publishing veteran, having started up and managed developer publications for the Clipper compiler, Microsoft Access, and Visual Basic. For 1105 Media, he managed MCPmag.com, Virtualization Review, and was Editor in Chief of Visual Studio Magazine and host of The .NET Insight Podcast until 2017. Contact him via his photography Web site at http://domingophoto.com.

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube