From f7fb4fc8dc20b9a9c1ec314cd4f9411d4af247eb Mon Sep 17 00:00:00 2001 From: Nick Rodriguez Date: Tue, 20 Oct 2020 15:32:31 -0400 Subject: [PATCH] Fix typo for DecryptionSyntax variable. Thanks @robcmo for spotting this. --- Invoke-USMTGUI.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Invoke-USMTGUI.ps1 b/Invoke-USMTGUI.ps1 index 4bda23d..b6962ac 100755 --- a/Invoke-USMTGUI.ps1 +++ b/Invoke-USMTGUI.ps1 @@ -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 @@ -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