PowerShell Logo Small

Export-BCSecretKey



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

Exports a secret key to a file.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Export-BCSecretKey cmdlet exports a secret key to a file.



<

RELATED LINKS

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

REMARKS

<

Examples


EXAMPLE 1

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



This example exports the secret key to the file C:\share1\secretkey.key with the passphrase mySecretPhrase.