PowerShell Logo Small

Publish-BCFileContent



This is the built-in help made by Microsoft for the command 'Publish-BCFileContent', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

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.

SYNTAX


Publish-BCFileContent [-Path] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-Force] [-Recurse] [-ReferenceFile <String>] [-StageData] [-StagingPath <String>]
[-ThrottleLimit <Int32>] [-UseVersion <UInt32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Publish-BCFileContent cmdlet generates hashes, also called content information, for files in shared folders on file servers that have BranchCache enabled and the
BranchCache for Network Files role service installed.


This cmdlet is also used to stage data for the creation of a data preloading package. Run this cmdlet with the StageData parameter on one or more collections of files, then
call the Export-BCCachePackage cmdlet to produce a data package containing all the staged data. This data package can be imported on remote hosted cache computers.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287288
Export-BCCachePackage

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Publish-BCFileContent -Path D:\share -StageData



This example hashes the contents of D:\share and adds the data to a cache package, that can later be exported and sent to a remote hosted cache server.