Do protein shakes really help you build muscle?

My doctor told me those weight loss supplements do NOT work, but I've never asked him about those protein powders/shakes. I was thinking If I eat one regular meal per day and replace another meal with the shake, then I should be well over 50 grams of protein per day. I want to build muscle and cut fat. So if anyone knows whether they really work o rwhether they are just "junk science" please let me know.

TIA.
Updates
+1 y
Okay, I bought enough whey protein for a month. This stuff tastes pretty good. Last time I tried whey protein it was nasty.
Do protein shakes really help you build muscle?
Post Opinion