.
This commit is contained in:
@ -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
|
||||||
@ -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
|
||||||
Reference in New Issue
Block a user