MSFT_NfsServerTasks class

Configures and manages the Windows NFS server.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

[ClassVersion("1.0"), dynamic, provider("nfscimprov"), AMENDMENT]
class MSFT_NfsServerTasks
{
};

Members

The MSFT_NfsServerTasks class has these types of members:

Methods

The MSFT_NfsServerTasks class has these methods.

Method Description
CreateClientGroup Creates a new client group.
CreateNetGroup Creates a new netgroup.
CreateShare Creates a new NFS share to be exported by a Windows NFS server.
DeleteNetGroup Deletes a netgroup.
EnumerateNetGroup Enumerates the netgroups from the netgroup store configured on the Windows NFS server.
EnumerateNetGroupFromLdap Enumerates all netgroup entries from Active Directory Domain Services (AD DS) or Active Directory Lightweight Directory Services (AD LDS).
EnumerateNetGroupFromNIS Enumerates all netgroup entries from NIS.
GetSharePermission Retrieves the permissions that have been set for an NFS share.
GetSharePermissionByName Retrieves by share name the permissions that have been set for an NFS share.
GrantSharePermission Grants permission to access an NFS share.
GrantSharePermissionByName Grants, by name, permission to access an NFS share.
ModifyShare Modifies the settings for an NFS share.
ModifyShareByName Modifies the settings for an NFS share by name.
RenameClientGroup Renames a client group.
ResolveMappedIdentityById Retrieves the MSFT_NfsMappedIdentity object that corresponds to a UNIX identifier.
ResolveMappedIdentityByName Retrieves the MSFT_NfsMappedIdentity object that corresponds to a Windows account name.
ResolveNetGroup Checks whether a netgroup name is valid on the Windows NFS server.
RevokeClientLock Revokes a lock that a client computer holds on files shared by the Windows NFS server.
RevokeSharePermission Removes the specified client from the list of share permissions configured on the share.
RevokeSharePermissionByName Removes the specified client by name from the list of share permissions configured on the share.
SetClientGroup Adds or removes client group members.
SetNetGroup Adds or removes netgroup members.
SetSharePermissionByString Sets access permissions in XML string format for shares exported by the Windows NFS server.
StartNfsClientService Starts the NFS client service.
StartNfsServerService Starts the NFS server service.
StopNfsClientService Stops the NFS client service.
StopNfsServerService Stops the NFS server service.
TestMappingStore Validates existing settings for the mapping store used by the Windows NFS server.
ValidateForShareCreation Checks whether the provided configuration can be used to create an NFS share.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\NFS
MOF
NfsCimProv.mof
DLL
NfsCimProv.dll