The monster to potentially be targeted with a Wand of Fear, has the Limited Magic Immunity feature, which reads as follows:
Limited Magic Immunity. Unless it wishes to be affected, this creature is immune to spells of 6th level or lower. It has advantage on saving throws against all other spells and magical effects.
What's tripping me up is the Wand of Fear's first effect, which reads as follows:
Command: While holding the wand, you can use an action to expend 1 charge and command another creature to flee or grovel, as with the command spell (save DC 15).
It does not say it casts the command spell, like many other wands explicitly state that they have you cast a spell from them, but instead that it's as with the spell. Since Limited Magic Immunity explicitly only makes immune to spells, will that creature be affected by the command effect of the wand, or would it be immune?