Step 01
Ensure that we have this script –> CABackupHSM-nCipher.ps1 in C:\Scripts folder(or the directory where you have your .ps1 script).
Step 02
Go to the Start Menu -> Type cmd to go to the Command prompt and ensure to run as administrator(by right clicking).
Step 03
Then go to the directory where the script is residing (here its in, C:\Scripts)
cd C:\Scripts
Step 04
Then to run powershell script on command prompt, type
C:\Scripts>powershell .\ CABackupHSM-nCipher.ps1
DISCLAIMER: The script described in this document is written for specifically for nCipher HSMs but can be modified according to different HSMs. Please feel free to contact us at info@encryptionconsulting.com (Encryption Consulting, LLC) regarding any PKI related work.