Loop through all gameobjects in a scene?

I’m sure I did this already but I can’t find the code on my machine. How would I loop through all of the gameobjects in the currently loaded scene? I want to find all of the cameras I’ve placed.

http://unity3d.com/Documentation/ScriptReference/Object.FindObjectsOfType.html

That was it! Yes, thanks Matthew!