
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,handlestry on your machineexplain 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 machineexplain this command