PowerShell is a command line shell and object-oriented programming language for Microsoft Windows that allows users to control system administration and automate batch processing. It offers a variety of ways to automate tasks and integrates with the .NET environment and can also be embedded within other applications.
If you want to get the PowerShell Version, kindly follow below steps.