Admin quotas by PowerShell

Mario 280 Reputation points
2024-11-13T19:13:23.5933333+00:00

How to assign a quota template previously created through PowerShell to a specific folder?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,810 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,303 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,565 questions
{count} votes

Accepted answer
  1. Ian Xue 38,046 Reputation points Microsoft Vendor
    2024-11-14T00:59:05.3533333+00:00

    Hi Mario,

    The New-FsrmQuota cmdlet can create a FSRM quota based on a quota template.

    New-FsrmQuota -Path "C:\Shares" -Description "limit usage to 100 MB based on template." -Template "100 MB Limit"
    

    https://learn.microsoft.com/en-us/powershell/module/fileserverresourcemanager/new-fsrmquota

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.