W4RH4WK / Debloat-Windows-10

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps
Other
6.05k stars 846 forks source link

PS> Set-ExecutionPolicy Unrestricted don't work #205

Closed moulin-louis closed 5 years ago

moulin-louis commented 5 years ago

Hello, i'm on windows 1903 and when i execute PS> Set-ExecutionPolicy Unrestricted in powershell with admin rigths and in the folders scripts, i have this : PS> : The term "PS>" is not recognized as a applet name, function, script file, or program executable. Check the spelling of the name, or if a path exists, verify that the path is correct and try again. To the line character: 1: 1

Anibody have a solutions ? Thanks (Sorry for my english, i'm french)

alenmeister commented 5 years ago

How about you try and not type in PS>?! That’s just a statement to show that it’s executed in your PowerShell terminal ("PS", you see where I’m going with this?). Also, if you couldn’t figure that out. I’d be careful about running these scripts...

moulin-louis commented 5 years ago

oooh, I am rather stupid and an beginner. Thanks for the help !

W4RH4WK commented 5 years ago

oooh, I am rather stupid and an beginner. Thanks for the help !

Just to clarify, you have read this section of the README.

These scripts are intended for tech-savvy administrators, who know what they are doing and just want to automate this phase of their setup. If this profile does not fit you, I recommend using a different (more interactive) tool -- and there are a lot of them out there.