Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

save command output to file in powershell

command 2>&1 | Tee-Object -FilePath ".filePath"
 
PREVIOUS NEXT
Tagged: #save #command #output #file #powershell
ADD COMMENT
Topic
Name
5+4 =