Disable .DS_Store on network mapped drives

I always seem to misplace this little piece of code, so I thought I would make my own post on it.  Prevents those pesky .DS_Store files that OS X creates. Just run it from the OS X Terminal and you are all set.

defaults write com.apple.desktopservices DSDontWriteNetworkStores true