I was having a discussion about how people can learn PowerShell at the recent UK PowerShell day and mentioned ad hoc development. Surprisingly,...
RSiddaway
Pipeline Chain operators
Another experimental feature from PowerShell v7 preview 5 brings pipeline chain operators to PowerShell. PS> Get-ExperimentalFeature -Name...
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...
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...
Error view
Error view is another experimental feature introduced with PowerShell v7 preveiw 5. The experimental feature needs to be enabled and PowerShell...
Test-Connection
In PowerShell v7 preview Test-Connection sees some improvements: PS> Test-Connection -TargetName 127.0.0.1 | Format-List Source : W510W10...
Null coalescing with Object properties
The Null coalescing operators were introduced in PowerShell v7 preview 5. last time you saw how to use Null coalescing with variables. You can also...
Null coalescing operators
Powershell v7 preview 5 introduces a new experimental feature that supports Null coalescing operators and null coalescing assignment operstors. As...
PowerShell v7 preview 5 experimental features
PowerShell v7 preview 5 has a number of new, and some modified experimental features. The full list of PowerShell v7 preview 5 experimental features...
PowerShell v7 preview 5
PowerShell v7 preview 5 is now available from https://github.com/PowerShell/PowerShell/releases There are a number of new features – released...
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...
Receive-Job Keep parameter
The Receive-Job Keep parameter is required if you want the data contained in the job to remain available. if you don’t use the –Keep parameter (a...
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....
Get-ExecutionPolicy
I’ve used Get-ExecutionPolicy since PowerShell v1 and never stopped to think about it. The cmdlet normally returns just the current policy PS>...
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...
Hyper-V VM IP address
Saw a question about getting the Hyper-V VM IP address. One thing with Hyper-V is that the VM has to be running for you to retrieve the IP address....
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...
Foreach-Object -parallel
The introduction of Foreach-Object -parallel in PowerShell v7 preview 3 brings some much needed parallelisation options back into PowerShell....
Testing Windows activation
Testing Windows activation from PowerShell involves a little dive into CIM (WMI). At its simplest a function like this function test-activation {...
Get-AdUser in PowerShell Core
There has been a problem with Get-ADUser in PowerShell core such that Get-ADUser -Identity Richard -Properties * Throws an error. The problem is in...
Windows Terminal v0.4.2382.0
Windows Terminal v0.4.2382.0 has ben released to the Microsoft store. if you have Windows Terminal installed it should automatically update for you....
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...
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...
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...