Troubled ex-West Coast Eagles gun Daniel Kerr has pleaded guilty to breaching a violent restraining order against his former wife in court on Tuesday.

Kerr appeared via video link from Hakea prison where he has been since he was arrested and denied bail two weeks ago.

Daniel Kerr is released from custody on Tuesday morning. Credit:Nine News Perth

A second charge against the premiership player was dropped.

The former Eagles midfielder has avoided jail and was slapped with a community based order and fined $1000 for the VRO breach.