PowerShell Logo Small

Publish-BCWebContent



This is the built-in help made by Microsoft for the command 'Publish-BCWebContent', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

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

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Publish-BCWebContent cmdlet creates hashes for web content when content servers are deployed running Windows Server® “8” Beta with the Web
Services (IIS) server role installed. In addition, the web server must be configured as a BranchCache content server by installing the
BranchCache feature.



<

RELATED LINKS

Disable-BC
Reset-BC

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Publish-BCWebContent –Path D:\inetpub\wwwroot -Recurse



This example pre-hashes the contents of wwwroot, so that hashes are available as soon as requests are made.




EXAMPLE 2

PS C:\> Publish-BCWebContent –Path D:\inetpub\wwwroot -StageData



This example adds data to a data package, that can later be exported and preloaded on a remote hosted cache server.