Skip to content

Commit 676e3e7

Browse files
author
Captain Chicky
authored
Update Set Powershell execution policy via batch at start.cmd
1 parent 0695bb5 commit 676e3e7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Set Powershell execution policy via batch at start.cmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ goto Start
1515
:Start
1616
echo Which execution level do you want to set on PowerShell?
1717
echo Choose one of the following:
18-
echo Restricted --> 'RT'
19-
echo AllSigned --> 'AS'
20-
echo RemoteSigned --> 'RS' (recommended)
21-
echo Unrestricted --> 'UR'
22-
echo Bypass --> 'BY' (not recommended)
18+
echo Restricted --> RT
19+
echo AllSigned --> AS
20+
echo RemoteSigned --> RS (recommended)
21+
echo Unrestricted --> UR
22+
echo Bypass --> BY (not recommended)
2323
set choice=
2424
set /p choice=You choice?:
2525
if NOT '%choice%'=='' set choice=%choice:~0,1%
@@ -76,4 +76,4 @@ echo Success, PowerShell Execution Policy set to
7676
powershell -command "& {Get-ExecutionPolicy}"
7777
echo cmd will now close in 10 seconds.
7878
timeout 10
79-
exit
79+
exit

0 commit comments

Comments
 (0)