Following is the output I am receiving after executing the command on the device but when I try to store this in a variable it stores only one line.