New CMDlets in PS 5.1

I’m running PS 5.1.1439.

PS C:\Windows\system32> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.1439
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.
BuildVersion                   10.0.143
CLRVersion                     4.0.3031
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3

I’m looking for a way to compare what CMDlets are available in PS v4 versus PS v5. When I run the CMD below I see a version property but nothing with a version of 4 or 5.

Get-Command -CommandType cmdlet | Select-Object -Property * | Out-GridView

Is there another cooler way to do this?

I’m familiar with that page. I’m looking for a way to do it programmatically in the shell.


“Just Karl” on TechNet website posted something like this but it was for v2 & v3.
I think you can revisit his code and make it working for your case.

Check it @

He explains it in more details in his post @ Quickly compare PowerShell V2 and V3 cmdlets | Unlock-PowerShell

With a minor update detailed @ Quick modification of the Compare-Command.ps1 script | Unlock-PowerShell

May be you can share with us your updated version :slight_smile: