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:
parent
eae5230b5d
commit
59c4ca9f64
|
@ -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"
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue