No output when execution policy is set to restricted (windows default)
MHanafy opened this issue · 0 comments
When trying to run the tool with default windows settings (execution policy = restricted), the tool runs and exists with no output.
I didn't find any documentation on why this is happening, tried installing/reinstalling the tool, but none worked.
Only when I tried to run a Powershell script and it prompted about the execution policy, I relaxed the policy and tried again, and the tool started working.
I suggest reflecting that in the read-me in case others encountered the same problem.
Symptoms:
Running maui-check
produces no output
To verify the root cause:
running get-executionpolicy
returns Restricted
Fix:
relaxe the execution policy y running set-executionpolicy RemoteSigned
, then running the tool again