Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Rename-NaLun


NAME
Rename-NaLun

SYNOPSIS
Move (rename) a LUN.

SYNTAX
Rename-NaLun [-Path] <String> [-NewPath] <String> [-Controller <NaController
>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Move (rename) a LUN.


PARAMETERS
-Path <String>
Path of the LUN to be moved.

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

-NewPath <String>
New path of the LUN being moved to.

Required? true
Position? 2
Default value
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

-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
DataONTAP.Types.Lun.LunInfo


NOTES


Category: lun
API: lun-move

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

C:\PS>Rename-NaLun /vol/vol2/lun100 /vol/vol2/lun101


Rename LUN 'lun100' to 'lun101'.


BackingSnapshot :
BlockSize : 512
IsSpaceReservationEnabled : True
Mapped : False
MultiprotocolType : image
Online : False
Path : /vol/vol2/lun101
ReadOnly : False
SerialNumber : abcdefghijkl
ShareState : none
Size : 2000683008
Uuid : d44cf834-180e-11df-9cab-00a09806c227
Comment :



RELATED LINKS
Get-NaLun







 Data ONTAP® PowerShell Toolkit