- Set-Location $(Split-Path $MyInvocation.MyCommand.Path -Parent)
- Param (
- [string]$DatabaseName
- )
- foreach ($file in $(Get-ChildItem -Path ".\data_containers")) {
- if ($file.GetType() -eq [System.IO.FileInfo]) {
- datactl.exe offline database create_dc $DatabaseName -f $file.FullName
- }
- }
|