|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaVolSize
NAME
Get-NaVolSize
SYNOPSIS
Given the name of a flexible volume, return its current size in bytes.
SYNTAX
Get-NaVolSize [-Name] <String> [-Controller <NaController>] [<CommonParamete
rs>]
DESCRIPTION
Given the name of a flexible volume, return its current size in bytes.
PARAMETERS
-Name <String>
The name of the flexible volume for which we want to get its size.
Required? true
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
<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.PowerShell.SDK.Cmdlets.Volume.SizeInfo
NOTES
Category: volume
API: volume-size
-------------- Example 1 --------------
C:\PS>Get-NaVolSize vol2
Get the size of volume 'vol2'.
VolumeSize
----------
193273528320
RELATED LINKS
Set-NaVolSize
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|