RSiddaway

Get-Error

One of the experimental features new PowerShell v7 preview 5 is the Get-Error cmdlet. The features description states: Enable Get-Error cmdlet that...

read more

Returning cmdlets

If I’m interpreting the email updates coming from the PowerShell project the next code release of PowerShell v7 should see the following returning...

read more

Error view

Error view is another experimental feature introduced with PowerShell v7 preveiw 5. The experimental feature needs to be enabled and PowerShell...

read more

Test-Connection

In PowerShell v7 preview Test-Connection sees some improvements: PS> Test-Connection -TargetName 127.0.0.1 | Format-List Source : W510W10...

read more

Hidden files

If you suspect there are hidden files in a folder you can use the Attributes parameter to discover them: PS> Get-ChildItem -Path c:test...

read more

Ternary operator

PowerShell v7 preview 4 adds a Ternary operator to PowerShell. A ternary operator is a way to provide shortened coding for a simple if-else block....

read more

PowerShell v6.2.3

PowerShell v6.2.3 is available from https://github.com/PowerShell/PowerShell/releases It fixes a debugging performance issue and updates the .NET...

read more

Pet peeves

Back in July I mentioned the using ? instead of Where-Object was a pet peeve. I’ve been asked a few times since for other pet peeves. The order of...

read more