Export (0) Print
Expand All

Export-SCACAesKey

Updated: April 1, 2012

Applies To: System Center 2012 - App Controller

Export-SCACAesKey

Exports the App Controller AES key from the registry to the specified file.

Syntax

Parameter Set: __AllParameterSets
Export-SCACAesKey [-FilePath] <String> [-Password] <SecureString> [ <CommonParameters>]




Detailed Description

The Export-SCACAESKey cmdlet exports the System Center 2012 - App Controller Advanced Encryption Standard (AES) key from the registry to the specified file. Use the FilePath parameter to specify the destination file.

Parameters

-FilePath<String>

Specifies a file location path.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Password<SecureString>

Specifies a secure string that contains a password.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String, System.Security.SecureString

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

The first command creates a secure string for the provided password and stores the secure string in the $Password parameter.

The second command exports the App Controller AES key to the Key.txt file at the specified file path using the password stored in $Password.


PS C:\> $Password = ConvertTo-SecureString "PassWord!" -AsPlainText -ForcePS C:\> Export-SCACAESKey -FilePath "C:\Keys\Key.txt" -Password $Password
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft