|
|
@@ -1,9 +1,11 @@
|
|
|
Set-Location $(Split-Path $MyInvocation.MyCommand.Path -Parent)
|
|
|
|
|
|
-datactl.exe delete -f base.yaml
|
|
|
+Param (
|
|
|
+ [string]$DatabaseName
|
|
|
+)
|
|
|
|
|
|
foreach ($file in $(Get-ChildItem -Path ".\data_containers")) {
|
|
|
if ($file.GetType() -eq [System.IO.FileInfo]) {
|
|
|
- datactl.exe apply -f $file.FullName
|
|
|
+ datactl.exe offline database delete_dc $DatabaseName -f $file.FullName
|
|
|
}
|
|
|
}
|