diff --git a/PS/pUnlock.ps1 b/PS/pUnlock.ps1 index b4fc7b2..a9ffd1f 100644 --- a/PS/pUnlock.ps1 +++ b/PS/pUnlock.ps1 @@ -1,4 +1,4 @@ -Get-Content C:\Scripts\Secret\unlock.txt | Where-Object {$_.length -gt 0} | Where-Object {!$_.StartsWith("#")} | ForEach-Object { +Get-Content C:\Scripts\Secrets\unlock.txt | Where-Object {$_.length -gt 0} | Where-Object {!$_.StartsWith("#")} | ForEach-Object { $var = $_.Split('=',2).Trim() New-Variable -Scope Script -Name $var[0] -Value $var[1] }