Query – Powershell Output to display in a Temp text file

by Nov 19, 2017

Hi,

I am trying to figure out how to pipe the Output of a script to a Temp Text file, as opposed to saving down to the c and having to open it each time,

Is it possible, I'm pretty sure I could do it with VBscripts,

If so, what is the commandlet called please so I can look into how i could use it in my scripts.

Thanks,

get-wmiobject Win32_QuickFixEngineering | sort -property HotFixID | select -property HotFixID, Description | out-file C:Scriptsoutput.txt

#C:PC_ToolsTempHotfix.txt