Exportovat (0) Tisk
Rozbalit vše

Hashgen

Aktualizováno: duben 2012

Rozsah platnosti: Windows Server 2008 R2

Creates or deletes BranchCache content information, also called hashes, for the content in the specified directory on a BranchCache-capable file server.

ImportantDůležité
This command is available only on computers running Windows Server® 2008 R2 that have the File Services server role and the BranchCache for network files role service installed.

hashgen [-q] [-t:HH:MM] [-d] [-f] <directory>

 

Parameter Description

directory

Required. Specifies the folder location that contains the content for which you want to generate content information. The command processes all content stored in directory and its subfolders.

-q

Optional. Specifies that the command is run in quiet mode. In quiet mode, the command does not display status information at the command prompt while the command is running. If –q is not specified, the command displays the folder location and file name for every file for which content information is generated.

-t:HH:MM

Optional. Specifies the maximum amount of time that content information can be generated before hashgen stops processing content, where HH means hours and MM means minutes. If –t is not specified, hashgen runs until it has produced content information for all content in the specified directory.

-d

Optional. Specifies the content information that you want to delete. All content information in the folder that you specify with the directory parameter is deleted when you use the –d parameter.

-f

Optional. Specifies that hashgen force the generation of content information for the specified directory, its subfolders and contents, even if current content information already exists.

  • If hashgen is run without the –f parameter, the command skips the processing of content for which there is already valid content information.

  • The Windows Server® 2008 R2 family of operating systems can be used as BranchCache content servers, and include the hashgen command, with the following exceptions:

    • BranchCache is not supported in Server Core installations of Windows Server® 2008 R2 Enterprise with Hyper-V.

    • BranchCache is not supported in Server Core installations of Windows Server® 2008 R2 Datacenter with Hyper-V.

Byl tento obsah pro vás užitečný?
(Zbývající počet znaků: 1500)
Děkujeme za váš názor.

Obsah vytvořený komunitou

Zobrazit:
© 2014 Microsoft