Creating the database for publish undo using PowerShell

You can use a PowerShell script to create a Microsoft SQL Server or Oracle database from a Windows system.

About this task

Procedure

  1. Open Windows PowerShell from the Windows Start Menu.
  2. In PowerShell, depending on your database navigate to one of the following folders on the installation media:
    • Database\MSSQL\
    • Database\Oracle\
  3. In PowerShell, depending on your database navigate to one of the following folders on the installation media:
    • Database\MSSQL\
    • Database\Oracle\
  4. Type the following command:
    & '.\Install Content Data Store.ps1' 
  5. Follow the instructions in the PowerShell console to install the database.