Question: I need to do remote checks to verify OSX has filevault enabled. When you enable filevault, does it create / change something on the HDD that I can check for on VPN login using my posture assessment tools?

Answer: 
`fdesetup` seems only avaliable on Mountain Lion.

Try this script on Lion: <https://github.com/rtrouton/rtrouton_scripts/blob/master/rtrouton_scripts/filevault_2_encryption_check/filevault_2_status_check.sh> 

The basic idea is: `diskutil cs list`
The rtrouton script mentioned previously seems needlessly complicated (I ended up there first, but after reading half of it came here).
I'm probably going to start with the below and wrap a little more logic around it.

```
diskutil cs list | grep "Fully Secure"

```