powershell set execution policy for typescript code example
Example: set execution policy powershell
Set-ExecutionPolicy RemoteSigned # to set the policy to RemoteSigned.
Set-ExecutionPolicy Unrestricted # to set the policy to Unrestricted.
Get-ExecutionPolicy # to verify the current settings for the execution policy.