Create backup directory if necessary

This commit is contained in:
Manuel Thalmann 2023-06-22 18:37:35 +02:00
parent a99314afa8
commit 535d4579a6

View file

@ -52,7 +52,7 @@ function Invoke-WindowsRestore([Context] $context) {
if (-not $backupPath)
{
New-Item -ItemType Directory "$backupPath";
New-Item -ItemType Directory $context.BackupRoot();
}
else
{