Author : MD TAREQ HASSAN | Updated : 2021/09/09

PowerShell (PowerShell Core) vs Windows PowerShell

PowerShell Windows PowerShell
It’s Open Source “PowerShell Core” Windows PowerShell (1.0 - 5.1) is a component of the Windows OS
Cross-platform Windows only
PowerShell Core is released under the MIT license Windows licensing
PowerShell is a distinct set of tools and components that is shipped, installed, and configured separately Included in Windows
Built on top of .Net Core Windows PowerShell 5.1 is built on top of the .NET Framework v4.5

More: https://docs.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell

cmdlet

Pipeline

Command syntax

Details: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_command_syntax

cmdlet info

#
# Get-Command cmdlet included in PowerShell is used to get all the cmdlets that are registered in the command shell
#
Get-Command # get all commands available
Get-Command -Noun <xyz> # get all commands that has <xyz> in it
Get-Command -Noun "Variable"

#
# Getting help about cmdlet
#
# Get-Help <cmdlet-name>
#
Get-Help Start-Service -Full
Get-Help Start-Service -Parameter *