Take the output string from BASH or PowerShell command and save it as a variable

View thread