yarn : File C:\Users\MD. Sabbir Hussain\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this system code example
Example 1: File C:\Users\skill\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
Set-ExecutionPolicy Unrestricted
Example 2: yarn : File C:\Users\Developer Daiyan\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted