Alyssa Milano has been cast for a guest appearance on the upcoming Fox comedy “Breaking In.”Alyssa-milano-hall-pass-premiere_prphotos1

Actress will play the ex-wife of Christian Slater’s character, Oz, who is the owner of a high-tech security firm.

“Breaking In” will debut at 9:30 p.m. April 6 — with a nice lead-in of “American Idol” — and Milano will appear in the April 13 episode. Depending upon future scripts, she has the potential to be cast in future episodes.

The pilot was shot in March and the remaining episodes are now in production. Adam Sandler’s Happy Madison Prods., Sethsquatch and Sony Pictures Television are behind the project.

Adam F. Goldberg, Seth Gordon and Doug Robinson are exec producers. Goldberg wrote the pilot with Gordon directing both the pilot and second episode.

Milano, currently appearing in the Farrelly brothers’ bigscreen laffer “Hall Pass,” is set to begin filming Gary Marshall’s romantic comedy “New Year’s Eve” with Robert De Niro, Ashton Kutcher and Zac Efron.