Unified approach to the derivation of work theorems for equilibrium and steady-state, classical and quantum Hamiltonian systems.