- 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 delete_dc $DatabaseName -f $file.FullName
- }
- }
|