PowerShell Logo Small

Import-BCSecretKey



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

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

SYNTAX


Import-BCSecretKey [-Filename] <String> [-AsJob] [-CimSession <CimSession[]>] [-Force] [-ThrottleLimit <Int32>] -FilePassphrase <String> [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Import-BCSecretKey cmdlet imports the cryptographic key that BranchCache uses for 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.


Use the Export-BCSecretKey cmdlet to export the secret key from one server to a file. Import the contents of this file using this cmdlet.



<

RELATED LINKS

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

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Import-BCSecretKey –Filename C:\share1\secretkey.key –FilePassphrase mySecretPhrase



This example imports the key material in the file C:\share1\secretkey.key encrypted with the passphrase mySecretPhrase.