Category Archives: PowerShell v6

More PowerShell v6 thoughts

My last post  – about PowerShell v6 – brought some interesting comments. Here’s some more PowerShell v6 thoughts generated by those comments. Comment Quote 1 “What’s the incentive to upgrade on Windows from 5.1 to 6.x? My understanding is that … Continue reading

Posted in PowerShell v6 | 6 Comments

PowerShell dashboard

The PowerShell dashboard shows some interesting data: https://msit.powerbi.com/view?r=eyJrIjoiYTYyN2U3ODgtMjBlMi00MGM1LWI0ZjctMmQ3MzE2ZDNkMzIyIiwidCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsImMiOjV9&pageName=ReportSection5 Linux is by far the dominant platform for PowerShell v6 usage – about 4 times as much usage on Linux as Windows for December 2018!  Does this mean that PowerShell is destined … Continue reading

Posted in PowerShell v6 | 2 Comments

Group-Object change in PowerShell v6.1

There’s a subtle Group-Object change in PowerShell v6.1. In PowerShell v5.1 if you do this: $ts = ‘ffrluoluntlvxutxbdvbktgyyvsvcrkxoyfotzkzogcwuwycmnhuedk’ $ts.ToCharArray() | group You get this: Count Name                      Group —– —-                      —–     3 f                         {f, f, f}     2 r                         {r, … Continue reading

Posted in PowerShell v5, PowerShell v6 | Leave a comment

Return of the missing PSDiagnostics

Return of the missing PSDiagnostics members in PowerShell v6.2 preview 3. In Windows PowerShell v5.1 the PSDiagnostics module contains these members: Disable-PSTrace Disable-PSWSManCombinedTrace Disable-WSManTrace Enable-PSTrace Enable-PSWSManCombinedTrace Enable-WSManTrace Get-LogProperties Set-LogProperties Start-Trace Stop-Trace In PowerShell v6.1.1 you just get these: Disable-PSTrace Enable-PSTrace … Continue reading

Posted in PowerShell v6 | Leave a comment

Join-String

Join-String is a new cmdlet in PowerShell v6.2 preview 3. Join-String enables you to use the pipeline to join strings. We’ve had the –join operator for a long time: PS>  1..3 -join ‘,’ 1,2,3 As an alternative you could do … Continue reading

Posted in PowerShell v6 | 1 Comment

PowerShell v6.2 preview 3 install issue

PowerShell v6.2 preview 3 install issue – PowerShell v6.2 preview 3 is now available from https://github.com/PowerShell/PowerShell/releases but you may notice a probloem if you install over the top of PowerShell v6.2 preview 2.  When you click on the icon to … Continue reading

Posted in PowerShell v6 | Leave a comment

Moving FSMO roles in PowerShell v6.1.1

With the Windows Server 2019 media now being available again it’s time to move my test lab over to the new version. I’d built a Windows Server 2019 VM and installed PowerShell v6.1.1. I discovered that in Server 2019 and … Continue reading

Posted in PowerShell and Active Directory, PowerShell v6 | 2 Comments