You can use umount to remove Network File System (NFS)–mounted drives.

Syntax

umount [-f] [{-a | DriveLetter:[...] | NetworkMount[...]}]

Description

The umount command-line utility disconnects the specified NFS-mounted drive. You must supply at least one of the following options or arguments.

-f
Forces deletion of Network File System (NFS) network drives.
-a
Deletes all NFS network drives. If there are active connections, umount prompts you for confirmation unless you also use the -f option.
DriveLetter
The letter of the logical drive to be disconnected.
NetworkMount
The network mount point to be disconnected. This mount must have been created using the net use Windows command-line utility without specifying a drive letter.

See Also