Data ONTAP® PowerShell Toolkit

Cmdlet: Clear-NaDiskOwner


NAME
Clear-NaDiskOwner

SYNOPSIS
Removes ownership information on a disk.

SYNTAX
Clear-NaDiskOwner -Names <String[]> [-OwnerID <UInt32>] [-All] [-Controller
<NaController>] [-WarningAction <ActionPreference>] [-WarningVariable <Strin
g>] [<CommonParameters>]


DESCRIPTION
Removes ownership information on a disk. Default usage is to remove ownershi
p information for all disks owned by the local node, in maintenance mode.


PARAMETERS
-Names <String[]>
List of disks to remove ownership information from. Example: 4a.18 5b.16
switch1:10.126L4

Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-OwnerID <UInt32>
Remove ownership of all disks owned by this owner-id (maintenance mode o
nly). Range [0..2^32-1

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

-All
If 'true' remove ownership information from all disks. (maintenance mode
only)

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

-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

<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.Disk.DiskSanownDetailInfo


NOTES


Category: disk
API: disk-sanown-remove-ownership

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

C:\PS>Clear-NaDiskOwner 0a.29


Clears owner of disk '0a.29'.


Checksum :
Home :
HomeId :
IsFailed : False
Name : 0a.29
Owner :
OwnerId :
Pool :
ReservedBy : 0
SerialNo : 3KS66QVV00009732P3XW
HomeIdSpecified : False
OwnerIdSpecified : False
PoolSpecified : False



RELATED LINKS
Get-NaDiskOwner
Set-NaDiskOwner
Switch-NaDiskOwner







 Data ONTAP® PowerShell Toolkit