< Back

Get-PowerShellVersion

Mon Jan 13, 2020 7:47 pm

NAME Get-PowerShellVersion



SYNOPSIS

This Function find the major version of Powershell





SYNTAX

Get-PowerShellVersion [<CommonParameters>]





DESCRIPTION





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PowerShellVersion













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-PowerShellVersion -verbose















RELATED LINKS