Gina Rinehart has won a court bid to view episode two of Channel Nine's mini-series House of Hancock and may seek an injunction at the weekend to prevent it going to air on Sunday night.

The mining magnate brought the urgent legal action against Nine Entertainment Co. in the NSW Supreme Court on Friday, to get access to the TV episode.

Mrs Rinehart's barrister, Tom Blackburn, SC, asked the court to grant an application for urgent preliminary discovery against Nine.

He said Mrs Rinehart's lawyers wanted to view the program, which is scheduled to air on Sunday at 8.45pm, to see if there were grounds to seek an urgent injunction on the basis of malicious falsehood or defamation.