PowerShell Logo Small

Set-BCSecretKey



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

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

SYNTAX


Set-BCSecretKey [[-Passphrase] <String>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-Force [<SwitchParameter>]] [-ThrottleLimit
<Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<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

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.