Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Rename-NaAggr


NAME
Rename-NaAggr

SYNOPSIS
Rename the specified aggregate.

SYNTAX
Rename-NaAggr [-Name] <String> [-NewName] <String> [-Controller <NaControlle
r>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Rename the specified aggregate.


PARAMETERS
-Name <String>
Name of the aggregate to rename.

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

-NewName <String>
The new name desired for the aggregate.

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.Aggr.AggrInfo


NOTES


Category: aggr
API: aggr-rename

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

C:\PS>Rename-NaAggr aggr1 aggr2


Rename aggregate 'aggr1' to 'aggr2'.






RELATED LINKS
Get-NaAggr







 Data ONTAP® PowerShell Toolkit