This command may be mistaken as the cross-platform version of PowerShell (formerly known as PowerShell Core), which uses
pwshinstead ofpowershell. The originalpowershellcommand in Windows is still available to use the legacy Windows version of PowerShell (version 5.1 and below). More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh.
tldr pwsh
tldr powershell {{[-p|--platform]}} windows