Yo! Had the same issue. Turns out, Windows CMD messes with curl’s stdout. Use this in PowerShell:
```
(Invoke-WebRequest -Uri https://example.com).Content | Out-File output.txt
```
It’s not *pure* curl, but it’s way more consistent for saving files in Windows.
For appending, just add `-Append` to the `Out-File` part.
```
(Invoke-WebRequest -Uri https://example.com).Content | Out-File output.txt
```
It’s not *pure* curl, but it’s way more consistent for saving files in Windows.
For appending, just add `-Append` to the `Out-File` part.
