Check out example codes for "cannot be loaded because running scripts is disabled on this system". It will help you in understanding the concepts better.

Code Example 1

Set-ExecutionPolicy RemoteSigned

Code Example 2

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Code Example 3

PS C:\> Set-ExecutionPolicy RemoteSigned

Code Example 4

Set-ExecutionPolicy RemoteSigned

Code Example 5

PS C:\> Set-ExecutionPolicy RemoteSigned

Code Example 6

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Learn ReactJs, React Native from akashmittal.com