'Cmd output as list

I really want to get output from command prompt as a list so i can arrange it in Excel sheet later. I've tried extract the data to text file and it works but not arranged ,is there any other way



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source