< Back

Get-Median

Mon Jan 13, 2020 7:35 pm

NAME Get-Median



SYNOPSIS

Gets a median





SYNTAX

Get-Median [-Number] <Double[]> [<CommonParameters>]





DESCRIPTION

Gets the median of a series of numbers





PARAMETERS

-Number <Double[]>

The numbers to average



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<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-Median 2,4,6,8















RELATED LINKS

Get-Average

Get-StandardDeviation