Skip to content

Commit f7fb4fc

Browse files
authored
Fix typo for DecryptionSyntax variable.
Thanks @robcmo for spotting this.
1 parent 8d8ce5f commit f7fb4fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Invoke-USMTGUI.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ $WallpapersXML
973973
$Uncompressed = ''
974974
# Set the syntax for the encryption
975975
$DecryptionKey = """$Script:EncryptionPassword"""
976-
$DecryptionSnytax = "/decrypt /key:$DecryptionKey"
976+
$DecryptionSyntax = "/decrypt /key:$DecryptionKey"
977977
}
978978

979979
# Set the value to continue on error if it was specified above
@@ -1025,10 +1025,10 @@ $WallpapersXML
10251025
}
10261026

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

10341034
# Begin loading user state to this computer

0 commit comments

Comments
 (0)