create_data_containers.ps1 317 B

1234567891011
  1. Set-Location $(Split-Path $MyInvocation.MyCommand.Path -Parent)
  2. Param (
  3. [string]$DatabaseName
  4. )
  5. foreach ($file in $(Get-ChildItem -Path ".\data_containers")) {
  6. if ($file.GetType() -eq [System.IO.FileInfo]) {
  7. datactl.exe offline database create_dc $DatabaseName -f $file.FullName
  8. }
  9. }