https://gist.github.com/yohanesgultom/b7e32f7649ac39e00ad65bcb83dfd72e
- Before execute
ps1
script files,ExecutionPolicy
should be set toRemoteSigned
and unblockps1
files
# Check
ExecutionPolicy
# Set as RemoteSigned
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
# Unblock ps1 files
Unblock-File *.ps1
./build.ps1
- Only *.def, *.dll, *.a
./clean.ps1
- All clear
./clean.ps1 all