I am trying to read a plist from the recovery partition on my lab machines specifically the ProductVersion Key value from com.apple.recovery.boot/SystemVersion.plist I have tried defaults read and all I get is plist does not exist. I am trying to create an extension attribute that reads that value but I am stuck without the defaults command I was thinking xmllint might work but I am having trouble with the syntax. Any and all help is appreciated!!
Solved
read plist through script defaults command not working

Best answer by RogerH
@mm2270 Not a silly question at all yes I mounted the partition using
diskutil mount disk0s3
when I throw the command
defaults read /Volumes/Recovery HD/com.apple.recovery.boot/SystemVersion.plist
I get the response of
Domain /Volumes/Recovery HD/com.apple.recovery.boot/SystemVersion.plist does not exist
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.