Category Archives: PowerShell v6

Stable sort

In Windows PowerShell if you do something like this: PS> (1..20 | Sort-Object -Property {$_ % 3}) -join ‘ ‘ 9 6 12 15 3 18 19 16 13 10 4 1 7 20 17 2 8 11 5 14 … Continue reading

Posted in PowerShell v6 | Leave a comment

OpenSSH installation

OpenSSH installation has got a lot simpler in Windows 10 1809; Windows Server 2019 and Windows Server 1809. OpenSSH is available as an optional feature. The client is preinstalled when you install the operating system. You just need to install … Continue reading

Posted in PowerShell v6 | 1 Comment

PowerShell Core v6.2.1

PowerShell Core v6.2.1 has been released – https://github.com/PowerShell/PowerShell/releases  as has v6.1.4 The new versions are to primarily fix the Security Vulnerability CVE-2019-0733 – https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0733 v6.2.1 also enables tab completion for functions

Posted in PowerShell v6 | 2 Comments

What’s new in PowerShell v6.2

The What’s new in PowerShell v6.2 is available at – https://docs.microsoft.com/en-gb/powershell/scripting/whats-new/what-s-new-in-powershell-core-62?view=powershell-6 – together with the already existing documents for PowerShell v6.0 and v6.1. Its worth reading through the three documents – one each for v6.0, v6.1 and v6.2 to see … Continue reading

Posted in PowerShell v6 | Leave a comment

PowerShell 7

A recent post – https://devblogs.microsoft.com/powershell/the-next-release-of-powershell-powershell-7/ – on the PowerShell team blog states that the next release of PowerShell Core won’t be 6.3 as expected but will be PowerShell 7 PowerShell 7 will be tied to .NET Core 3.0 and should … Continue reading

Posted in PowerShell v6 | Leave a comment

PSCommandNotFoundSuggestion

PowerShell v6.2 contains a number of experimental features including PSCommandNotFoundSuggestion The idea of experimental features is to make the use of new features – especially those that may cause breaking changes optional.  Feedback can be obtainied and the experimental features … Continue reading

Posted in PowerShell v6 | Leave a comment

PowerShell v6.2 experimental features

I’ve mentioned the PowerShell v6.2 experimental features before. This blog post from the PowerShell team https://devblogs.microsoft.com/powershell/general-availability-of-powershell-core-6-2/ gives a good overview of the available experimental features. I’ve already covered the use of the temp drive. The command not found suggestions and … Continue reading

Posted in PowerShell v6 | Leave a comment