Dirquota quota scan
Applies To: Windows Server 2008, Windows Server 2012
Initiates a scan to recalculate quota usage information.
Note
To use this command, you must be logged on as an administrator or a member of the Administrators group.
For examples of how to use this command, see Examples.
Syntax
dirquota quota scan /path:<Path> [/remote:<ComputerName>]
Parameters
Parameter |
Description |
---|---|
/path:<Path> |
Scans quota usage on path Path. You can use the following wildcard characters:
|
/remote:<ComputerName> |
Performs the operation on the remote computer ComputerName. |
Remarks
To display quota usage information, use the Dirquota quota list** **command.
The shortest sequence of characters that uniquely identifies a parameter can be used as an abbreviation. For example, the following two commands are equivalent:
dirquota q s /p:d:\scratch dirquota quota scan /path:d:\scratch
To perform operations on a remote computer by using the **/remote:**ComputerName parameter:
You must be logged on with a domain account that is a member of the Administrators group on both the local computer and the remote computer.
The remote computer must be running Windows Server 2008, and File Server Resource Manager must be installed.
The Remote File Server Resource Manager Management exception on the remote computer must be enabled. You enable this exception by using Windows Firewall in Control Panel.
Examples
To initiate a scan of quota usage in a specific user's folder, type:
dirquota quota scan /path:d:\users\user1
To scan all folders on a volume on the remote computer FILESERVER1, type:
dirquota quota scan /path:d:\... /remote:fileserver1