BranchCache Cmdlets in Windows PowerShell

Windows PowerShell® es un lenguaje de scripting y shell de línea de comandos basado en tareas diseñado especialmente para la administración del sistema. En este tema de referencia para los profesionales de tecnologías de la información (TI) ofrece ayuda en el uso de los cmdlets de Windows PowerShell para crear scripts y automatizar las tareas.

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

Add-BCDataCacheExtension

Increases the amount of cache storage space that is available on a hosted cache server by adding a new cache file.

Clear-BCCache

Deletes all data in all data and hash files.

Disable-BC

Disables the BranchCache service.

Disable-BCDowngrading

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.

Disable-BCServeOnBattery

Configures a client to ignore content discovery requests in distributed cache mode when operating on battery power.

Enable-BCDistributed

Enables BranchCache and configures a computer to operate in distributed cache mode.

Enable-BCDowngrading

Instructs a client computer that is running Windows® 8 Consumer Preview to operate in a downgraded Windows® 7 mode.

Enable-BCHostedClient

Configures BranchCache to operate in hosted cache client mode.

Enable-BCHostedServer

Configures BranchCache to operate in hosted cache server mode.

Enable-BCLocal

Enables the BranchCache service in local caching mode.

Enable-BCServeOnBattery

Configures a client to listen for content discovery requests in distributed cache mode when operating on battery power.

Export-BCCachePackage

Exports a cache package.

Export-BCSecretKey

Exports a secret key to a file.

Get-BCClientConfiguration

Retrieves the current BranchCache client computer settings.

Get-BCContentServerConfiguration

Retrieves the current BranchCache content server settings.

Get-BCDataCache

Retrieves the BranchCache data cache.

Get-BCDataCacheExtension

Retrieves the BranchCache data cache extensions from a hosted cache server.

Get-BCHashCache

Retrieves the BranchCache hash cache.

Get-BCHostedCacheServerConfiguration

Retrieves the current BranchCache hosted cache server settings.

Get-BCNetworkConfiguration

Retrieves the current BranchCache network settings.

Get-BCStatus

Retrieves a set of objects that provide BranchCache status and configuration information.

Import-BCCachePackage

Imports a cache package.

Import-BCSecretKey

Imports the cryptographic key that BranchCache uses for the generation of segment secrets.

Publish-BCFileContent

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.

Publish-BCWebContent

Creates hashes for web content when deploying content servers that are running Windows Server® 8 Beta with the Web Services (IIS) server role installed.

Remove-BCDataCacheExtension

Deletes a data cache file.

Reset-BC

Resets BranchCache to the default configuration.

Set-BCAuthentication

Specifies the BranchCache computer authentication mode.

Set-BCCache

Modifies the cache file configuration.

Set-BCDataCacheEntryMaxAge

Modifies the maximum amount of time that data can remain in the cache.

Set-BCMinSMBLatency

Sets the minimum latency that must exist between client and server before transparent caching functions are utilized.

Set-BCSecretKey

Sets the cryptographic key used in the generation of segment secrets.

Nota

To list all the cmdlets that are available, use the Get-Command –Module BranchCache cmdlet.

Para conocer más información o la sintaxis de cualquiera de los cmdlets, use el cmdlet Get-Help <nombre de cmdlet>, donde <nombre de cmdlet> es el nombre del cmdlet del que quiere información. Para obtener información más detallada, puede ejecutar cualquiera de los siguientes cmdlets:

Get-Help <nombre de cmdlet> -Detailed
Get-Help <nombre de cmdlet> -Examples
Get-Help <nombre de cmdlet> -Full