Skip to content

Commit

Permalink
Fix typo for DecryptionSyntax variable.
Browse files Browse the repository at this point in the history
Thanks @robcmo for spotting this.
  • Loading branch information
nickrod518 authored Oct 20, 2020
1 parent 8d8ce5f commit f7fb4fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Invoke-USMTGUI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ $WallpapersXML
$Uncompressed = ''
# Set the syntax for the encryption
$DecryptionKey = """$Script:EncryptionPassword"""
$DecryptionSnytax = "/decrypt /key:$DecryptionKey"
$DecryptionSyntax = "/decrypt /key:$DecryptionKey"
}

# Set the value to continue on error if it was specified above
Expand Down Expand Up @@ -1025,10 +1025,10 @@ $WallpapersXML
}

Update-Log "$OldUser will be migrated as $NewUser."
$Arguments = "`"$Destination`" $LoadStateConfig $LocalAccountOptions `"/mu:$($OldUser):$NewUser`" $DecryptionSnytax $Uncompressed $Logs $ContinueCommand /v:$Script:VerboseLevel"
$Arguments = "`"$Destination`" $LoadStateConfig $LocalAccountOptions `"/mu:$($OldUser):$NewUser`" $DecryptionSyntax $Uncompressed $Logs $ContinueCommand /v:$Script:VerboseLevel"
}
else {
$Arguments = "`"$Destination`" $LoadStateConfig $LocalAccountOptions $DecryptionSnytax $Uncompressed $Logs $ContinueCommand /v:$Script:VerboseLevel"
$Arguments = "`"$Destination`" $LoadStateConfig $LocalAccountOptions $DecryptionSyntax $Uncompressed $Logs $ContinueCommand /v:$Script:VerboseLevel"
}

# Begin loading user state to this computer
Expand Down

0 comments on commit f7fb4fc

Please sign in to comment.