Investment Property

What are all the write offs for moving out my home and renting it out?  Can I write off repairs, upgrades, management company, etc.)