I’ve used this in HPC PowerShell (run as admin) to list the files in the C drive on Azure nodes:
foreach ($node in (get-hpcnode –groupname azurenodes)) {$nodename=$node.netbiosname; hpcfile dir /targetnode:$nodename /dir:C:\}
If the files don’t all have the same name, something like this should work to loop through and pull files down:
foreach ($node in (get-hpcnode –groupname azurenodes)) {$nodeName=$node.NetBiosName; hpcfile get /file:C:\JobFiles\* /destfile:C:\JobFiles /targetnode:$nodeName}