Get Preference

Hi, I’m having a hard time trying to understand how to use the “Get preference” command. It simply says: “Gets a single preference setting”. Would you please put an example?
Thank you,
Juan Carlos