Probationary Period

Probationary period in Switzerland: is it mandatory, how long does it last, and what is the notice period?