PowerCLI Reference

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>]

Related Commands

Online Version
Get-Stat
Get-StatType
New-StatInterval
Remove-StatInterval
Set-StatInterval

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the statistics intervals you want to retrieve.falseFalse
SamplingPeriodSecsInt32[]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.falseFalse
ServerVIServer[]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.falseTrue (ByValue)

Return Type

Zero or more StatInterval objects

Notes

Examples

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

Get-StatInterval

Retrieves the available statistics intervals.


Copyright © VMware, Inc. All rights reserved.