Command Line To Map Network Drive Exclusive

By default, command-line mappings are often not persistent (they disappear after a reboot). To make them stick, add the /persistent:yes switch.

net use Z: \\server\share /user:jdoil *