Either use a box grater, or a food processor with a grating attachment. If you are using the cores of the zucchini, you don't even need to chop it up, just use them as is.