This commit is contained in:
USER
2024-03-14 21:52:46 +00:00
parent 7951ecd779
commit 18487e6ce1
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Get-Content C:\Scripts\Secrets\unlock.txt | Where-Object {$_.length -gt 0} | Whe
} }
$SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force $SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force
Unlock-BitLocker -MountPoint "E:" -Password $SecureString Unlock-BitLocker -MountPoint "F:" -Password $SecureString
#### in unlock.txt put below #### in unlock.txt put below
###mystring=xxxxx ###mystring=xxxxx

View File

@ -6,5 +6,5 @@ Get-Content C:\Scripts\Secrets\unlockusb.txt | Where-Object {$_.length -gt 0} |
$SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force $SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force
Unlock-BitLocker -MountPoint "Z:" -Password $SecureString Unlock-BitLocker -MountPoint "Z:" -Password $SecureString
#### in unlockucb.txt put below #### in unlockusb.txt put below
### mystring=xxxxx ### mystring=xxxxx