I need help with an PowerShell error

Hello everyone. I have tried to solve a problem in citra, and for this I need to put a code in PowerShell. But I can’t, because when I put it, this error appears

English Translation:
Out-file: Access denied to the path ‘C: \ Program Files (x86) \ nightly-mingw \ log.txt’.
+ Online: 1 character: 1
+ -----------------------------
_ + CategoryInfo: OpenError: ( : ) [Out-File], UnauthorizedAccessException_
_ + FullyQualifieldErrorID: FileOpenFailure, Microsoft.PowerShell.Commands.OutFileCommand_

Can somebody help me?

Try typing in “cmd” in the Powershell and it should open up the command prompt in the same window.

It doesn’t work, this appears

Sin título

English Translation:
PS C: \Program Files (x86)\nightly-mingw> cmd
Microsoft Windows [Vesión 10.0.15063]
( c ) 2017 Microsoft Corporation. All rights reserved
PS C: \Program Files (x86)\nightly-mingw> ./citra-qt 2>log.txt
Access denied

Can you try running powershell as an administrator?