What is the ruling on mens beards

Shaving the beard is Haram. Trimming the beard however to a certain extent is accepted.