nfsshare
Controls Network File System (NFS) shares. Windows commands reference
On Windows
Windows
Controls Network File System (NFS) shares. Used without parameters, this command displays all Network File System (NFS) shares exported by Server for NFS.
nfsshare <sharename>=<drive:path> [-o <option=value>...]nfsshare {<sharename> | <drive>:<path> | * } /delete
-o anon={yes|no}Specifies whether anonymous (unmapped) users can access the share directory.-o rw=[<host>[:<host>]...]Provides read-write access to the shared directory by the hosts or client groups specified by host. You must separate host and group names with a colon (:). If host isn't specified, all hosts and client groups (except those specified with the ro option) get read-write access. If neither the ro nor the rw option is set, all clients have read-write access to the shared directory.-o ro=[<host>[:<host>]...]Provides read-only access to the shared directory by the hosts or client groups specified by host. You must separate host and group names with a colon (:). If host isn't specified, all clients (except those specified with the rw option) get read-only access. If the ro option is set for one or more clients, but the rw option isn't set, only the clients specified with the ro option have access to the shared directory.-o anongid=<gid>Specifies that anonymous (unmapped) users access the share directory using gid as their group identifier (GID). The default is -2. The anonymous GID is used when reporting the owner of a file owned by an unmapped user, even if anonymous access is disabled.-o anonuid=<uid>Specifies that anonymous (unmapped) users access the share directory using uid as their user identifier (UID). The default is -2. The anonymous UID is used when reporting the owner of a file owned by an unmapped user, even if anonymous access is disabled.-o root=[<host>[:<host>]...]Provides root access to the shared directory by the hosts or client groups specified by host. You must separate host and group names with a colon (:). If host isn't specified, all clients get root access. If the root option isn't set, no clients have root access to the shared directory./deleteIf sharename or <drive>:<path> is specified, this parameter deletes the specified share. If a wildcard (*) is specified, this parameter deletes all NFS shares./?Displays help at the command prompt.