dirty fix
This commit is contained in:
@ -6,3 +6,5 @@ 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
|
||||
|
||||
#### in unlock.txt put below
|
||||
###mystring=xxxxx
|
||||
@ -6,3 +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
|
||||
### mystring=xxxxx
|
||||
@ -3,6 +3,7 @@ call C:\Scripts\wLocal\localENV.bat
|
||||
@REM xxxxxxx
|
||||
echo "%~n0: Start"
|
||||
|
||||
call C:\Scripts\wLocal\bin\l_UnlockUSB.bat
|
||||
if exist Z:\LocalBackups\ (
|
||||
echo "Backup disk found"
|
||||
call C:\Scripts\wLocal\bin\l_UnlockUSB.bat
|
||||
|
||||
Reference in New Issue
Block a user