Software

Microsoft doles out PowerShell 7 preview. It works. People like it. We can't find a reason to be sarcastic about it

Popular admin tool shifts to .Net Core 3.0 amid talk of future features


Microsoft on Thursday released a preview version of PowerShell 7, its command-line shell and scripting language for administrators. The software was once was limited to Windows but opened up to Linux (including arm64) and macOS three years ago.

Steve Lee, principal software engineering manager, announced the software's availability in conjunction with a roadmap of future features. He said the next preview release will follow in accordance with the established monthly release cadence; preview 2 is expected mid-July.

The full list of changes has been posted on GitHub, a recently purchased estate and code storage facility in the Microsoft empire.

Lee said moving from .Net Core 2.1 to .Net Core 3.0 represents the most notable change, one that improves performance and delivers various new APIs, albeit Windows-focused ones like WPF and WinForms.

Back in 2016, Microsoft open sourced PowerShell, previously available through the Windows-only .NET framework, and made it available through the cross-platform .Net Core framework. As that transition wraps up, the company is working to put the .Net Core version on equal footing with its Windows-focused ancestor.

"A big focus of PowerShell 7 is making it a viable replacement for Windows PowerShell 5.1," said Lee. "This means it must have near parity with Windows PowerShell in terms of compatibility with modules that ship with Windows."

To take advantage of the full range of Windows PowerShell modules, you'll of course need Windows 10 or the equivalent Windows Server.

Looking beyond Windows, however, appears to have briefly pushed PowerShell into the top 50 programming languages in March, as ranked by TIOBE. Since that high-water mark, it has retreated back into its former relative obscurity.

Microsoft, said Lee, is focused on delivering features related to simplifying the secure management of credentials, logging to remote machines, and notification of new versions, which can help with security.

Lee encourages developers to submit RFC for desired features and said there are a number of features he hopes PowerShell developers will be able to deliver as experimental options in future releases including improved default error formatting, control operators for chaining commands, a ubiquitous -OnError {ScriptBlock} parameter, ternary conditionals, null conditional assignment and a parallel For-Each-Object.

Lee also said his team is working to move PowerShell for Azure Functions from preview to general availability.

PowerShell has been Microsoft's favored mechanism for managing Azure services, but with its improvements to Azure Portal, PowerShell has a rival. ®

Send us news
52 Comments

Microsoft to use Windows 11 Start menu as a billboard with app ads for Insiders

This wasn't what most had in mind when Redmond promised to make the feature 'great again'

Microsoft unbundling Teams is to appease regulators, not give customers a better deal

Think before you pull the trigger, warn analysts

US government excoriates Microsoft for 'avoidable errors' but keeps paying for its products

In what other sphere does a bad supplier not feel pain for its foulups?

Microsoft slammed for lax security that led to China's cyber-raid on Exchange Online

CISA calls for 'fundamental, security-focused reforms' to happen ASAP, delaying work on other software

Microsoft breach allowed Russian spies to steal emails from US government

Affected federal agencies must comb through mails, reset API keys and passwords

Microsoft puts ex-DeepMind boffin in charge of London AI hub

Follows £2.5 billion pledge to 'upskill' British workers for the new world order

Microsoft squashes SmartScreen security bypass bug exploited in the wild

Plus: Adobe, SAP, Fortinet, VMware, Cisco issue pressing updates

Open source versus Microsoft: The new rebellion begins

Neither side can afford to lose, but one surely must

Meet clickjacking's slicker cousin, 'gesture jacking,' aka 'cross window forgery'

Web devs advised to do their part to limit UI redress attacks

AI gold rush continues as Microsoft invests $1.5B in UAE's G42

Can regulators keep up?

French lawmakers take a swing at cloud monopolies

Action gathers steam in the EU, US and UK as anti-trust teams collate market feedback

Microsoft to tackle spam by restricting Exchange Online bulk email

Need to send to more than 2,000 external recipients in 24 hours? Time to start looking for an alternative