< Back

Get-Average

Mon Jan 13, 2020 7:34 pm

NAME Get-Average



SYNOPSIS

Gets an average





SYNTAX

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





DESCRIPTION

Gets an average 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-Average 2,4,6,8















RELATED LINKS