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

Code Example 1

PS C:\> Set-ExecutionPolicy RemoteSigned

Learn ReactJs, React Native from akashmittal.com