Chcę zapisać plik ipconfig / all w pliku tekstowym. Jestem w systemie Windows 10. Kiedy próbuję tego w cmd
ipconfig /all | tee file.txt
mam
'tee' is not recognized as an internal or external command,operable program or batch file.
Czym jest alternatywa dla systemu Windows tee?
powershelljako tag w twoim pytaniu, takipconfig /all | tee file.txtjest poprawnym poleceniem PowerShell i działa dokładnie tak, jak tego oczekujesz.teeto alias dlaTee-Object.