What is the meaning of Oh_man?

Used to express disappointment or annoyance.

Used to express excitement or enthusiasm.

Source: wiktionary.org