I have been tasked to discover which of our mac estate has a recovery partition remotely.
I would like to send a terminal command in order to obtain the Machost name and run diskutil list in order to check if one is in place.
Can anyone assist with simple script that will output the above variables to into an xls/txt file that I can push out in order to obtain this information - any help would be much appreciated.
Kindest regards