A few options:
Cygwin is a collection of Linux utilities compiled for Windows.
C:\Users\Zuga>tee --help
Usage: tee [OPTION]... [FILE]...
Copy standard input to each FILE, and also to standard output.
PS C:\Users\Zuga> get-service | tee services.txt
tee
is an alias for Tee-Object
.
PS C:\Users\Zuga> get-alias tee
CommandType Name Version Source
----------- ---- ------- ------
Alias tee -> Tee-Object