Create backup directory if necessary
This commit is contained in:
parent
a99314afa8
commit
535d4579a6
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function Invoke-WindowsRestore([Context] $context) {
|
|||
|
||||
if (-not $backupPath)
|
||||
{
|
||||
New-Item -ItemType Directory "$backupPath";
|
||||
New-Item -ItemType Directory $context.BackupRoot();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue