|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaLunSignature
NAME
Set-NaLunSignature
SYNOPSIS
Set the MBR or GPT signature of a partitioned LUN.
SYNTAX
Set-NaLunSignature [-GenerateRandom] [-Path] <String> [-Controller <NaContro
ller>] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-NaLunSignature [[-MbrSignature] <UInt32>] [-Path] <String> [-Controller
<NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-NaLunSignature [[-GptSignature] <Guid>] [-Path] <String> [-Controller <N
aController>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set the MBR or GPT signature of a partitioned LUN.
PARAMETERS
-GenerateRandom
If specified, a random MBR or GPT signature will be generated.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
Path of the LUN.
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
-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
-MbrSignature <UInt32>
The MBR signature to assign to the LUN.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-GptSignature <Guid>
GPT GUID signature to assign to the LUN.
Required? false
Position? 2
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
-------------- Example 1 --------------
C:\PS>Set-NaLunSignature /vol/vol1/lun3 -GenerateRandom
Generate a random LUN signature for lun3 on vol1.
RELATED LINKS
Get-NaLunSignature
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|