Hi everyone, I'm new here and I hope I find myself well. Trying to automate processes I have difficulty saving the result of a command in a variable. The only way I've found is to save it to a file first and then load it: dism /Online /Get-Capabilities | findstr "OpenSSH.Server" > AAA.txt ...