Update docs to use `Tee-Object` in PowerShell in Windows.

By using `Tee-Object` you can ouput the debug log to the console and a file, which is way easier to use than just outputting to a logfile.
This commit is contained in:
bjorn 2018-01-02 10:38:08 +01:00
parent eae5230b5d
commit 59c4ca9f64
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ stdout using `&>`:
$ vagrant up --debug &> vagrant.log
```
On Windows:
On Windows in PowerShell (outputs to log and screen):
```
$ vagrant up --debug > vagrant.log 2>&1
$ vagrant up --debug 2>&1 | Tee-Object -FilePath ".\vagrant.log"
```