Has anyone successfully polled the VRAM information through an Extension Attribute? I have been trying the following script without success:
#!/bin/sh
vram='system_profiler -detaillevel mini | grep 'VRAM' | cut -d : -f 2'
echo"<result>$vram</result>"
The command works without a hitch when I use it in Terminal.