From 37b2eeee66d0d702915e373ef74dd44db5a1cccc Mon Sep 17 00:00:00 2001 From: USER Date: Sat, 18 Nov 2023 14:55:37 +0000 Subject: [PATCH] . --- PS/pUnlock.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] }