Get-StatInterval

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional
SamplingPeriodSecs
Int32[] 1 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.
optional
Name
String[] named
  • wildcards
  • Specifies the names of the statistics intervals you want to retrieve.
    optional
    Server
    VIServer[] named
  • wildcards
  • pipeline
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null 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.

    Output

    VMware.VimAutomation.ViCore.Types.V1.Stat.StatInterval

    Examples


    Example 1

    Get-StatInterval

    Retrieves the available statistics intervals.

    Related Commands

    Feedback

    Was this page helpful?