Forrest logo
back to context overview

tee-object

List of commands for tee-object:

  • tee-object:tldr:3c421 tee-object: Output processes to a variable and `Select-Object`.
    $ Get-Process notepad | Tee-Object -Variable ${proc} | Select-Object processname,handles
    try on your machine
    explain this command
  • tee-object:tldr:48a0b tee-object: Output processes to a file and to the console.
    $ Get-Process | Tee-Object -FilePath ${path\to\file}
    try on your machine
    explain this command
back to context overview