PowerShell Logo Small

Set-BCSecretKey



This is the built-in help made by Microsoft for the command 'Set-BCSecretKey', 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

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

SYNTAX


Set-BCSecretKey [[-Passphrase] <String>] [-AsJob] [-CimSession <CimSession[]>] [-Force] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-BCSecretKey cmdlet sets the cryptographic key used in the generation of segment secrets. Use this cmdlet when deploying BranchCache-enabled content servers in a
cluster or behind a network load balancer. If a file or webpage exists on multiple content servers, then each server must use the same secret key; otherwise, each copy of
the file will be cached separately within the branch office.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287296
Export-BCSecretKey
Import-BCSecretKey

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-BCSecretKey -Passphrase mySecretPhrase



This example sets the cryptographic key that is used in the generation of segment secrets, using the pass phrase mySecretPhrase.