vSphere PowerCLI Reference

Get-StatInterval

Synopsis

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

Retrieves the available statistics intervals and filters them using the provided parameters.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specify the names of the statistics intervals you want to retrieve.falsefalse
SamplingPeriodSecsInt32[]Specify 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[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given 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

StatInterval

Notes

Examples

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

Get-StatInterval

Retrieves the available statistics intervals.


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.