foundation_deployment_platform 0.1.1

Foundation deployment platform — VM/container orchestration, Docker runtime, guest infrastructure
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
foreach ($p in $plan) {
    Write-Output ('  {0,-40} cleaning... ' -f $p.N) -NoNewline
    foreach ($path in $p.P) {
        if (Test-Path -LiteralPath $path) {
            Remove-Item -LiteralPath $path -Recurse -Force -ErrorAction SilentlyContinue
        }
    }
    Write-Output 'done'
}
Write-Output ''
Write-Output '--- DISM /StartComponentCleanup /ResetBase ---'
& dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase | Out-Null
Write-Output '  (DISM finished)'