Skip to content

add a command line option to show the version of powershell installed #1084

@wimcoekaerts

Description

@wimcoekaerts

Can you add a version number option so I can do powershell –version –-version or –v or –V so that I know what’s installed

bash --version

GNU bash, version 4.2.46(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Would be nice to have same for powershell

powershell –version

Metadata

Metadata

Assignees

Labels

Area-SideBySiderelated to ability to run PS7 side-by-side with WinPS or different versions of PS7Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Usability(LEGACY) Helps filter issues that might be higher priority because they directly affect usabilityWG-DevEx-Portabilityauthoring cross-platform or cross-architecture modules, cmdlets, and scripts

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions