Forum Discussion
Misleading instructions in Baseline-LocalInstall
Requirements in Baseline-LocalInstall.ps1 say that:
REQUIREMENTS:
* PowerShell execution policy must be configured to allow script execution; for example,
with a command such as the following:
Set-ExecutionPolicy RemoteSigned
However, it's not signed, so it is not possible to run it with such ExecutionPolicy.
It is possible to run it with `Set-ExecutionPolicy -Scope Process Unrestricted`, but I was wondering if I downloaded it from the wrong place, and there is signed file somwhere.
ilmarsl - it's not misleading. The "RemoteSigned" execution policy means that scripts from remote systems must be signed by a trusted publisher. You should download the zip file locally, and remember to unblock the downloaded zip file before expanding its contents. If you don't unblock it, the script file will retain a "mark of the web" and be treated as a remote file.
3 Replies
- Kenta_SatoCopper Contributor
Language Packs must be look into, local identifier, constants and Strings.
- Aaron_MargosisBrass Contributor
ilmarsl - it's not misleading. The "RemoteSigned" execution policy means that scripts from remote systems must be signed by a trusted publisher. You should download the zip file locally, and remember to unblock the downloaded zip file before expanding its contents. If you don't unblock it, the script file will retain a "mark of the web" and be treated as a remote file.
- ilmarslCopper Contributor
Just tried it, and you are correct. After unblocking the zip file it works as described. Thank you.