Skip to content

Commit 7fab163

Browse files
author
Captain Chicky
authored
fixed
1 parent 34d022e commit 7fab163

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Set Powershell execution policy via batch at start.cmd

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ goto Start
7171
:Start
7272
echo Which execution level do you want to set on PowerShell?
7373
echo Choose one of the following:
74-
echo Restricted = RT
75-
echo AllSigned = AS
76-
echo RemoteSigned = RS (recommended)
77-
echo Unrestricted = UR
78-
echo Bypass = BY (not recommended)
74+
echo Restricted --^> RT
75+
echo AllSigned --^> AS
76+
echo RemoteSigned --^> RS (recommended^)
77+
echo Unrestricted --^> UR
78+
echo Bypass --^> BY (not recommended^)
7979
SET /P "choice=Your choice?..."
8080
IF /I "%choice%" == "RT" (
8181
goto RT
@@ -88,9 +88,9 @@ IF /I "%choice%" == "RT" (
8888
) else IF /I "%choice%" == "BY" (
8989
goto BY
9090
) else (
91-
ECHO "%choice%" is not a valid choice. Please type one of the given two letter shorthands for the execution level(capitalization doesn't matter).
92-
PAUSE
93-
CLS
91+
ECHO "%choice%" is not a valid choice. Please type one of the given two letter shorthands for the execution level(capitalization doesn't matter^).
92+
pause
93+
cls
9494
goto Start
9595
)
9696

0 commit comments

Comments
 (0)