Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcLunQosPolicyGroup


NAME
Set-NcLunQosPolicyGroup

SYNOPSIS
Set the QoS policy group for a LUN.

SYNTAX
Set-NcLunQosPolicyGroup [-Path] <String> [-QosPolicyGroup] <String> [-Contro
ller <NcController[]>] [<CommonParameters>]

Set-NcLunQosPolicyGroup [-Path] <String> [-None] [-Controller <NcController[
]>] [<CommonParameters>]


DESCRIPTION
Set the QoS policy group for a LUN.


PARAMETERS
-Path <String>
Path of the LUN.

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

-QosPolicyGroup <String>
QoS Policy Group for the LUN. Setting this value to 'none' removes the L
UN from a policy group.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

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

-None
If specified, the LUN will be removed from the QoS policy group.

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


NOTES


Category: lun
API: lun-set-qos-policy-group
Family: vserver

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

C:\PS>Set-NcLunQosPolicyGroup /vol/luns/disk0 -QosPolicyGroup policy1


Set the QoS policy group for /vol/luns/disk0.


Path Size Protocol Online Mapp
ed Thin Vserver Comment
---- ---- -------- ------ ----
-- ---- ------- -------
/vol/luns/disk0 100.0 GB windows_2008 True Fals
e True beam01



RELATED LINKS
Get-NcLun







 Data ONTAP® PowerShell Toolkit