Set-FileUserQuota

SYNOPSIS

Modifies an existing file user quota.

SYNTAX

Set-FileUserQuota [-Cluster] <Cluster> [-Id]
 [-HardLimit <long>] [-SoftLimit <long>] 
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Modifies an existing file user quota.

EXAMPLES

Example 1

PS C:\> Set-FileUserQuota -Cluster $cluster -Id uuid1 -SoftLimit 100000 -HardLimit 500000

Where $cluster is a PowerStore cluster instance and uuid1 is the ID of the file user quota to modify. Sets the soft limit to 100000 bytes and the hard limit to 500000 bytes on the quota, rounding up to the filesystem block size.

PARAMETERS

-Cluster

The PowerStore cluster.

Type: Cluster
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

The UUID of the file user quota to modify.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HardLimit

Hard limit of the user quota, in bytes. No hard limit when set to 0. This value can be used to compute amount of space that is consumed without limiting the space. Value is always rounded up to match the physical block size of the filesystem. Must be higher than soft limit, and cannot be set to a nonzero value while soft limit is still set to zero.

Type: Long
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SoftLimit

Soft limit of the user quota, in bytes. No soft limit when set to 0. Value is always rounded up to match the physical block size of the filesystem.

Type: Long
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Dell.PowerStore.Management.Model.FileUserQuota

NOTES