Set netstat command in a variable