大网数据广告活动
磁盘与文件系统

File Server Resource Manager Command-Line Tools

· 52CE 我爱测

This article describes Windows Server 2016 command-line tools

File Server Resource Manager installs the FileServerResourceManager PowerShell cmdlets as well as the following command-line tools:

  • Dirquota.exe. Use to create and manage quotas, auto apply quotas, and quota templates.
  • Filescrn.exe. Use to create and manage file screens, file screen templates, file screen exceptions, and file groups.
  • Storrept.exe. Use to configure report parameters and generate storage reports on demand. Also use to create report tasks, which you can schedule by using schtasks.exe.

You can use these tools to manage storage resources on a local computer or a remote computer. For more information about these command-line tools, see the following references:

Note: To see command syntax and the available parameters for a command, run the command with the /? parameter.

Remote management using the command-line tools

Each tool has several options for performing actions similar to those that are available in the File Server Resource Manager MMC snap-in. To have a command perform an action on a remote computer instead of the local computer, use the /remote:ComputerName parameter.

For example,Dirquota.exe includes a template export parameter to write quota template settings to an XML file, and a template import parameter to import template settings from the XML file. Adding the /remote:ComputerName parameter to the Dirquota.exe template import command will import the templates from the XML file on the local computer to the remote computer.

Note: When you run the command-line tools with the /remote:ComputerName parameter to perform a template export (or import) on a remote computer, the templates are written to (or copied from) an XML file on the local computer.

Additional considerations

To manage remote resources with the command-line tools:

  • You must be logged on with a domain account that is a member of the Administrators group on the local computer and on the remote computer.
  • You must run the command-line tools from an elevated Command Prompt window. To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  • The remote computer must be running Windows Server, and File Server Resource Manager must be installed.
  • The Remote File Server Resource Manager Management exception on the remote computer must be enabled. Enable this exception by using Windows Firewall in Control Panel.

Additional References

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 7/7/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。