Skip to content

FSRMAutoQuota

dscbot edited this page Jun 16, 2024 · 3 revisions

FSRMAutoQuota

Parameters

Parameter Attribute DataType Description Allowed Values
Path Key String The path this FSRM Quota applies to.
Ensure Write String Specifies whether the FSRM Quota should exist. Present, Absent
Disabled Write Boolean Disables the FSRM Quota applied to this path.
Template Write String The name of the FSRM Quota Template to apply to this path.

Description

This resource is used to configure Auto Quotas in File Server Resource Manager.

Examples

Example 1

This configuration will assign an FSRM Auto Quota to the path 'd:\users' using the template '5 GB Limit'.

Configuration FSRMAutoQuota_Config
{
    Import-DscResource -Module FSRMDsc

    Node localhost
    {
        FSRMAutoQuota DUsers
        {
            Path     = 'd:\Users'
            Ensure   = 'Present'
            Disabled = $false
            Template = '5 GB Limit'
        } # End of FSRMAutoQuota Resource
    } # End of Node
} # End of Configuration