powershell enable run scripts code example
Example 1: linux install ping
apt-get update
apt-get install iputils-ping
Example 2: cannot be loaded because running scripts is disabled on this system
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Example 3: cannot be loaded because running scripts is disabled on this system.
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Example 4: linux stop running script
ps
kill [pid]
// if the above does not work
kill -9 [pid]