< Back

Get-StatInterval

Sun Jan 19, 2020 6:52 pm

NAME Get-StatInterval



SYNOPSIS

This cmdlet retrieves the available statistics intervals and filters them using the provided parameters.





SYNTAX

Get-StatInterval [[-Name] <String[]>] [[-SamplingPeriodSecs] <Int32[]>] [-Server <VIServer[]>] [<CommonParameters>]





DESCRIPTION

This cmdlet retrieves the available statistics intervals and filters them using the provided parameters.





PARAMETERS

-Name <String[]>

Specifies the names of the statistics intervals you want to retrieve.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-SamplingPeriodSecs <Int32[]>

Specifies the sampling period of the statistics intervals you want to retrieve. The sampling period is an

integer that defines (in seconds) the interval of the statistics sample.



Required? false

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Server <VIServer[]>

Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this

parameter, the command runs on the default servers. For more information about default servers, see the

description of Connect-VIServer.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



<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

Zero or more StatInterval objects







NOTES









-------------------------- Example 1 --------------------------



Get-StatInterval



Retrieves the available statistics intervals.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... erval.html

Get-Stat

Get-StatType

New-StatInterval

Remove-StatInterval

Set-StatInterval