Prevent .DS_Store files from being created on Network Drives

Prevent .DS_Store files from being created on Network Drives

To prevent .DS_Store files on Network Drives.

From Terminal:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true