Skip to content

Commit b1ba7fa

Browse files
committed
Set-ExecutionPolicy RemoteSigned -Scope Process
Fix with oscdimg.exe search, ExecutionPolicy, compression, etc.. ntdevlabs#319 ntdevlabs#319
1 parent cab18a9 commit b1ba7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiny11maker.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if ((Get-ExecutionPolicy) -eq 'Restricted') {
1919
Write-Host "Your current PowerShell Execution Policy is set to Restricted, which prevents scripts from running. Do you want to change it to RemoteSigned? (yes/no)"
2020
$response = Read-Host
2121
if ($response -eq 'yes') {
22-
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm:$false
22+
Set-ExecutionPolicy RemoteSigned -Scope Process -Confirm:$false
2323
} else {
2424
Write-Host "The script cannot be run without changing the execution policy. Exiting..."
2525
exit

0 commit comments

Comments
 (0)