Access Denied error while trying to download software on windows cirlcleci environment

Dear team,

I am trying to download software using wget command in powershell(windows circleci). getting access denied error.
wget -OutFile C:\Users\circleci\project\Scripts\AWSCLI64PY3.msi
wget : Win32 internal error “Access is denied” 0x5 occurred while reading the console output buffer. Contact Microsoft
Customer Support Services.
At line:1 char:1

Exited with code 1

Sample code:
executor: win/vs2019
- checkout
- run: Write-Host ‘Hello, Windows’
- run:
command: cd /
shell: powershell.exe
- run:
command: mkdir Scripts
shell: powershell.exe
- run:
command: wget uri -OutFile C:\Users\circleci\project\Scripts\AWSCLI64PY3.msi
shell: powershell.exe

^ It looks like you have two pieces of code/logs here. To make such snippets readable, the forum supports Markdown formatting. Would you edit this now?

The format you need uses backticks, thus:

logs or code

This is a common format supported by GitHub, GitLab, Stack Overflow, Bitbucket etc, so it is well worth learning :+1:

I managed to solve this error by running

$ProgressPreference = "SilentlyContinue"