CmdID

CmdID / Commands

nfsadmin

A command-line utility that administers Server for NFS or Client for NFS on the local or remote computer running Microsoft Services for Network File System (NFS). Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

A command-line utility that administers Server for NFS or Client for NFS on the local or remote computer running Microsoft Services for Network File System (NFS). Used without parameters, nfsadmin server displays the current Server for NFS configuration settings and nfsadmin client displays the current Client for NFS configuration settings.

nfsadmin server [computername] [-u Username [-p Password]] -l
nfsadmin server [computername] [-u Username [-p Password]] -r {client | all}
nfsadmin server [computername] [-u Username [-p Password]] {start | stop}
nfsadmin server [computername] [-u Username [-p Password]] config option[...]
nfsadmin server [computername] [-u Username [-p Password]] creategroup <name>
nfsadmin server [computername] [-u Username [-p Password]] listgroups
nfsadmin server [computername] [-u Username [-p Password]] deletegroup <name>
nfsadmin server [computername] [-u Username [-p Password]] renamegroup <oldname> <newname>
nfsadmin server [computername] [-u Username [-p Password]] addmembers <hostname>[...]
nfsadmin server [computername] [-u Username [-p Password]] listmembers
nfsadmin server [computername] [-u Username [-p Password]] deletemembers <hostname><groupname>[...]
nfsadmin client [computername] [-u Username [-p Password]] {start | stop}
Show 15 options
computernameSpecifies the remote computer you want to administer. You can specify the computer using a Windows Internet Name Service (WINS) name or a Domain Name System (DNS) name, or by Internet Protocol (IP) address.
-u UsernameSpecifies the user name of the user whose credentials are to be used. It might be necessary to add the domain name to the user name in the form domain\username.
-p PasswordSpecifies the password of the user specified using the -u option. If you specify the -u option but omit the -p option, you are prompted for the user's password.
-lLists all locks held by clients.
-r {client|all}Releases the locks held by a client or, if all is specified, by all clients.
startStarts the Server for NFS service.
stopStops the Server for NFS service.
configSpecifies general settings for Server for NFS. You must supply at least one of the following options with the config command argument: - mapsvr=<server> - Sets server as the User Name Mapping server for Server for NFS. Although this option continues to be supported for compatibility with previous versions, you should use the sfuadmin utility instead. - auditlocation={eventlog|file|both|none} - Specifies whether events will be audited and where the events will be recorded. One of the following arguments is required: - eventlog - Specifies that audited events will be recorded only in the Event Viewer application log. - file - Specifies that audited events will be recorded only in the file specified by config fname. - both - Specifies that audited events will be recorded in the Event Viewer application log as well as the file specified by config fname. - none - Specifies that events aren't audited. - fname=<file> - Sets the file specified by file as the audit file. The default is %sfudir%\log\\nfssvr.log. - fsize=<size> - Sets size as the maximum size in megabytes of the audit file. The default maximum size is 7 MB. …
creategroup <name>Creates a new client group, giving it the specified name.
listgroupsDisplays the names of all client groups.
deletegroup <name>Removes the client group specified by name.
renamegroup <oldname> <newname>Changes the name of the client group specified by oldname to newname.
addmembers <hostname>[...]Adds a host to the client group specified by name.
listmembers <name>Lists the host computers in the client group specified by name.
deletemembers <hostname><groupname>[...]Removes the client specified by host from the client group specified by group.