title: Getting output of a multiple commands and store them in a simple file using powershell
body: <p>I have a .txt file which containers multiple commands. I want to input the file, read the content and run  those commands line by line and retrieve output of each command in a single file using a powershell script. Can somebody help me with writing this script??</p>