Data ONTAP® PowerShell Toolkit

Cmdlet: Start-NaDiskZeroSpare


NAME
Start-NaDiskZeroSpare

SYNOPSIS
Set up all non-zeroed spares owned by the filer to start zeroing.

SYNTAX
Start-NaDiskZeroSpare [-Controller <NaController>] [-WarningAction <ActionPr
eference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParamete
rs>]


DESCRIPTION
Set up all non-zeroed spares owned by the filer to start zeroing. This oper
ation is asynchronous, and therefore returns no errors that might occur when
the zeroing operation actually starts, which could be several seconds after
this API operation completes.

Zeroing progress can be monitored via the "Get-NaDisk" API. The "zeroing-pe
rcent" element is returned if disk zeroing has started, and "is-zeroed" retu
rns TRUE once the zeroing has completed (or, if zeroing wasn't necessary in
the first place).


PARAMETERS
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

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

-WarningAction <ActionPreference>


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

-WarningVariable <String>


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



NOTES


Category: disk
API: disk-zero-spares

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

C:\PS>Start-NaDiskZeroSpare


Begin zeroing all non-zeroed spares on the current controller.






RELATED LINKS







 Data ONTAP® PowerShell Toolkit