diff --git a/PS/pUnlock.ps1 b/PS/pUnlock.ps1 index 9f0cbce..faac7e1 100644 --- a/PS/pUnlock.ps1 +++ b/PS/pUnlock.ps1 @@ -4,7 +4,7 @@ Get-Content C:\Scripts\Secrets\unlock.txt | Where-Object {$_.length -gt 0} | Whe } $SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force -Unlock-BitLocker -MountPoint "E:" -Password $SecureString +Unlock-BitLocker -MountPoint "F:" -Password $SecureString #### in unlock.txt put below ###mystring=xxxxx \ No newline at end of file diff --git a/PS/pUnlockUSB.ps1 b/PS/pUnlockUSB.ps1 index 2645d8f..9628574 100644 --- a/PS/pUnlockUSB.ps1 +++ b/PS/pUnlockUSB.ps1 @@ -6,5 +6,5 @@ Get-Content C:\Scripts\Secrets\unlockusb.txt | Where-Object {$_.length -gt 0} | $SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force Unlock-BitLocker -MountPoint "Z:" -Password $SecureString -#### in unlockucb.txt put below +#### in unlockusb.txt put below ### mystring=xxxxx \ No newline at end of file