BranchCache Cmdlets in Windows PowerShell
Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.
BranchCache Manageability
This reference provides cmdlet descriptions and syntax for all BranchCache Manageability-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
cmdlet | Description |
---|---|
Increases the amount of cache storage space that is available on a hosted cache server by adding a new cache file. |
|
Deletes all data in all data and hash files. |
|
Disables the BranchCache service. |
|
Disables downgrading, so that client computers that are running Windows® 8 Consumer Preview do not request Windows® 7-specific versions of content information from content servers. |
|
Configures a client to ignore content discovery requests in distributed cache mode when operating on battery power. |
|
Enables BranchCache and configures a computer to operate in distributed cache mode. |
|
Instructs a client computer that is running Windows® 8 Consumer Preview to operate in a downgraded Windows® 7 mode. |
|
Configures BranchCache to operate in hosted cache client mode. |
|
Configures BranchCache to operate in hosted cache server mode. |
|
Enables the BranchCache service in local caching mode. |
|
Configures a client to listen for content discovery requests in distributed cache mode when operating on battery power. |
|
Exports a cache package. |
|
Exports a secret key to a file. |
|
Retrieves the current BranchCache client computer settings. |
|
Retrieves the current BranchCache content server settings. |
|
Retrieves the BranchCache data cache. |
|
Retrieves the BranchCache data cache extensions from a hosted cache server. |
|
Retrieves the BranchCache hash cache. |
|
Retrieves the current BranchCache hosted cache server settings. |
|
Retrieves the current BranchCache network settings. |
|
Retrieves a set of objects that provide BranchCache status and configuration information. |
|
Imports a cache package. |
|
Imports the cryptographic key that BranchCache uses for the generation of segment secrets. |
|
Generates hashes, also called content information, for files in shared folders on a file server that have BranchCache enabled and the BranchCache for Network Files role service installed. |
|
Creates hashes for web content when deploying content servers that are running Windows Server® 8 Beta with the Web Services (IIS) server role installed. |
|
Deletes a data cache file. |
|
Resets BranchCache to the default configuration. |
|
Specifies the BranchCache computer authentication mode. |
|
Modifies the cache file configuration. |
|
Modifies the maximum amount of time that data can remain in the cache. |
|
Sets the minimum latency that must exist between client and server before transparent caching functions are utilized. |
|
Sets the cryptographic key used in the generation of segment secrets. |
Notes
To list all the cmdlets that are available, use the Get-Command –Module BranchCache
cmdlet.
For more information about, or for the syntax of, any of the cmdlets, use the Get-Help
<cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:
● Get-Help
<cmdlet name> -Detailed
● Get-Help
<cmdlet name> -Examples
● Get-Help
<cmdlet name> -Full
More Information
For more information about the cmdlets, see the following:
-