Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Clear-NaLunStatistics


NAME
Clear-NaLunStatistics

SYNOPSIS
Resets (zeroes) block-protocol access statistics for LUN(s).

SYNTAX
Clear-NaLunStatistics [[-Path] <String>] [-Controller <NaController>] [-What
If] [-Confirm] [<CommonParameters>]


DESCRIPTION
Resets (zeroes) block-protocol access statistics for LUN(s).


PARAMETERS
-Path <String>
Path of the LUN. If path is specified, the stats of that LUN will be re
set. If path is not specified, stats of all LUNs are reset.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.Lun810.LunInfo


NOTES


Category: lun
API: lun-reset-stats

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

C:\PS>Clear-NaLunStatistics


Clear access statistics for all LUNs.






RELATED LINKS
Get-NaLunStatistics







 Data ONTAP® PowerShell Toolkit