Remove-StatInterval
This cmdlet removes the statistics interval specified by the provided sampling period or name.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Interval | StatInterval[] | named |
|
Specifies the statistics intervals you want to remove. The values of this parameter can be statistics interval objects, names, or refresh periods in seconds. |
optional | Server | VIServer[] | 1 |
|
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. |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
Remove-StatInterval -Interval *
Removes all the statistics intervals. Note that deleting statistics intervals is allowed only on VirtualCenter 2.0.
Related Commands
Stat
This cmdlet retrieves the statistical information available on a vCenter Server system.
StatInterval
This cmdlet retrieves the available statistics intervals and filters them using the provided parameters.
This cmdlet creates a statistics interval with the specified parameters.
This cmdlet removes the statistics interval specified by the provided sampling period or name.
This cmdlet changes the statistics interval that is specified by the provided parameters.
StatType
This cmdlet retrieves the available statistics types for a inventory object.