net.windows.resources.manager.FSRM
1.0.0.31
dotnet add package net.windows.resources.manager.FSRM --version 1.0.0.31
NuGet\Install-Package net.windows.resources.manager.FSRM -Version 1.0.0.31
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="net.windows.resources.manager.FSRM" Version="1.0.0.31" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add net.windows.resources.manager.FSRM --version 1.0.0.31
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: net.windows.resources.manager.FSRM, 1.0.0.31"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install net.windows.resources.manager.FSRM as a Cake Addin #addin nuget:?package=net.windows.resources.manager.FSRM&version=1.0.0.31 // Install net.windows.resources.manager.FSRM as a Cake Tool #tool nuget:?package=net.windows.resources.manager.FSRM&version=1.0.0.31
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
WindowsResourcesManager FSRM
WindowsResourcesManager (FSRM) is a wrapper designed to simplify the creation and management of folder quotas on Windows Server. It addresses the common challenge of managing disk space usage by providing developers with a straightforward API to configure folder quotas programmatically.
Features
- Create hard quota limit.
- Update hard quota limit.
- Delete quota.
- More will be implemented later.
Requirements
- Operating System: Windows Server 2012 or later with windows feature FS-Resource-Manager installed.
- .NET Framework: .NET Framework 4.6.1 or later, .NET Core 3.1 or later or netstandard 2.0 or later.
- Permissions: Elevated permissions.
Getting Started
Installation
You can install the package via NuGet Package Manager:
Install-Package net.windows.resources.manager.FSRM
Install the windows feature if it's not already installed
Install-WindowsFeature -Name FS-Resource-Manager -IncludeManagementTools
How to Use
Example setting a 20 GB hard limit on folder d:\targetPath
using var service = new WindowsServerQuotaManager();
var result = service.CreateOrUpdateQuota("d:\\targetPath", 20);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.