|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaDiskOwner
NAME
Get-NaDiskOwner
SYNOPSIS
Get sanown disk information.
SYNTAX
Get-NaDiskOwner [[-Name] <String>] [[-OwnershipType] <String>] [-Controller
<NaController>] [<CommonParameters>]
DESCRIPTION
Get sanown disk information.
PARAMETERS
-Name <String>
Get ownership status for given disk, or if not supplied, get ownership f
or all disks. If OwnershipType is supplied, get ownership info for disk
s of specific type. Wildcarding is supported.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-OwnershipType <String>
Possible values are:
'all' which will list all disks.
'unowned' which will list all disks without owners.
'owned' which will list all disks with owners.
'unknown' which will list all disks with unknown owners.
'visible' which will list all disks belonging to the local and partner f
iler.
Default is 'all'. If specific disk is specified, OwnershipType will be
ignored.
Required? false
Position? 2
Default value all
Accept pipeline input? false
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
<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
DataONTAP.Types.Disk.DiskSanownDetailInfo
NOTES
Category: disk
API: disk-sanown-list-info
-------------- Example 1 --------------
C:\PS>Get-NaDiskOwner 0a.29
Get ownership info for disk '0a.29'.
Checksum :
Home : benson
HomeId : 118045471
IsFailed : False
Name : 0a.29
Owner : benson
OwnerId : 118045471
Pool : 0
ReservedBy : 118045471
SerialNo : 3KS66QVV00009732P3XW
HomeIdSpecified : True
OwnerIdSpecified : True
PoolSpecified : True
RELATED LINKS
Clear-NaDiskOwner
Set-NaDiskOwner
Switch-NaDiskOwner
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|