Ross Ohlendorf got his first win of the season in seven starts and hit a three-run homer to help the Pittsburgh Pirates beat the Los Angeles Dodgers 6-2 Thursday night, a loss that mathematically eliminated the bankrupt franchise from the NL West race. Ohlendorf (1-2) allowed two runs and four hits in seven innings, struck out six and walked none.