tsc.ps1 cannot be loaded because running scripts is disabled on this system
Use tsc.cmd
instead of tsc
. For example:
tsc.cmd -v
tsc.cmd --init
You can run this in PowerShell command. Be sure to run it as administrator:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned