Yes - it should have the pre programed codes for it , worst case you can always learn the commend from your Sound Bar remote.
Also if your sound bar has HDMI ( ARC ) then when plugged into your TV's HDMI ( ARC ) input this will also control the sound and volume