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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Specifies the names of the statistics intervals you want to retrieve. | false | false
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. | false | 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. | false | true (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.