Category Archives: PowerShell 7

Experimental features

PowerShell core has recently. v6.2, had the concept of experimental features added.  An experimental feature is new or changed functionality that may be a breaking change or about which the PowerShell team want feedback before finalising the code. My PowerShell … Continue reading

Posted in PowerShell 7, PowerShell v6 | Leave a comment

PowerShell v7 preview 3

PowerShell v7 preview 3 is now available from https://github.com/PowerShell/PowerShell/releases Breaking changes seem to be confined to non-Windows platforms with the removal of the kill alias on Stop-Process and support for pwsh as a login shell The big new item is … Continue reading

Posted in PowerShell 7 | Leave a comment

Out-GridView is back

Out-GridView is finally back in PowerShell core – https://devblogs.microsoft.com/powershell/out-gridview-returns/. The project is hosted on github – https://github.com/powershell/GraphicalTools Install the module from the gallery – PS> Install-Module -Name Microsoft.PowerShell.GraphicalTools Currently, Out-GridView is the only command in the module though adding Show-Command … Continue reading

Posted in PowerShell 7, PowerShell v6 | 1 Comment

PowerShell v7 preview 2

PowerShell v7 preview 2 arrived a few days ago. No big ticket items in this preview. Some useful things: Issue with Get-ChildItem Path with wildcards has been fixed UseAbbreviationExpansion and TempDrive are moved from experimental features to official features Foreach-Object … Continue reading

Posted in PowerShell 7 | Leave a comment

Load format file in a module

Staying with the test-connection function I thought I’d show how to turn the function and format file into a module. This includes how to load the format file in a module. Create a folder TestConnection Copy the format file and … Continue reading

Posted in PowerShell 7, PowerShell v6 | Leave a comment

Test-Connection formatting

Last time I showed how to write a function that replaces the current PowerShell 6/7 Test-Connection. This time I’ll show you how to do the Test-Connection formatting. Using just the function you get something like this: PS>  test-connection -computername 127.0.0.1 … Continue reading

Posted in PowerShell 7, PowerShell v6 | Leave a comment

PowerShell 6/7 Test-Connection

The PowerShell 6/7 Test-Connection implementation as of PowerShell v6.2.1 and PowerShell v7.0 preview 1 is in my opinion a horrible example of how not to create output. the cmdlet shows  each ping and then wraps all of the results in … Continue reading

Posted in PowerShell 7, PowerShell v6 | 1 Comment