In response to JWP's episode 2697 and ClaudioM's comment, this show covers the shutdown command as it appeared in Sun Solaris and OpenSolaris, and currently appears in both Oracle Solaris and OpenIndiana.
shutdown
The quick version:
-i
man init
-y
-g
In practise, I don't even use the shutdown command. I use poweroff, which does a shutdown and poweroff.
poweroff
Both shutdown and poweroff require root permission. On OpenIndiana, you can either use sudo bash or pfexec bash to get a root prompt.
sudo bash
pfexec bash
Some links:
OpenIndiana handbook
Sun Microsystem docs (with Oracle branding on it)