Book Image

Learning System Center App Controller

Book Image

Learning System Center App Controller

Overview of this book

Table of Contents (13 chapters)
Learning System Center App Controller
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Procedure


In this section, we will describe the backup and recovery procedure. To perform a successful recovery during backup, the App Controller advanced encryption standard (AES) key must be exported by performing the following steps:

  1. Launch PowerShell ISE as an administrator on the App Controller server.

  2. Run the following script, replacing ServerName and Password for the key file according to your requirements:

    Import-Module AppController
    $Credentials = Get-Credential
    Get-SCACServer -ServerName 'https://appcontroller.contoso.internal' -Credential $Credentials
    $Password = ConvertTo-SecureString "PassWord01" -AsPlainText -Force
    Export-SCACAESKey -Path "C:\Media\Key.txt" -Password $Password