While ingame bring down console and type:

Code / Effect
~~~~~~~~~~~~~~~~~~~~~~~~~~~
god - Godmode
allammo - 999 ammunition
ghost - Noclipping mode
walk - resume normal mode

You will not get any message if the cheat is successful, you will however if entered incorrectly.