A man has been charged with attempted murder after he allegedly drove a bulldozer in pursuit of a man before demolishing a house while a woman and her two daughters were inside.

Police are expected to lay a total of 11 charges against the man including breaching an apprehended violence order, which was in place to protect one of the females who was living in the home flattened by the bulldozer.

Lake Macquarie police have also revealed how one of their officers smashed the window of the bulldozer cabin before flooding it with capsicum spray.

The officer then hit an emergency shutdown button.