Export (0) Print
Expand All

NFS Cmdlets in Windows Powershell

Updated: October 15, 2012

Applies To: Windows Server 2012

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Network File System (NFS) Cmdlets

This reference provides cmdlet descriptions and syntax for all NFS cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

Cmdlet Description

Disconnect-NfsSession

Disconnects NFS sessions that a client computer established on an NFS server.

Get-NfsClientConfiguration

Gets configuration settings for an NFS client.

Get-NfsClientgroup

Gets client groups configured on an NFS server.

Get-NfsClientLock

Gets file locks that a client computer holds on an NFS server.

Get-NfsMappedIdentity

Gets an NFS mapped identity

Get-NfsMappingStore

Gets configuration settings for an identity mapping store.

Get-NfsMountedClient

Gets clients that are connected to an NFS server.

Get-NfsNetgroup

Gets a netgroup.

Get-NfsNetgroupStore

Gets settings for a netgroup store.

Get-NfsOpenFile

Gets information about files that are open on an NFS server for a client computer.

Get-NfsServerConfiguration

Gets configuration settings for an NFS server.

Get-NfsSession

Gets information about which client computers are currently connected to one or more shares on an NFS server.

Get-NfsShare

Gets NFS shares on an NFS server.

Get-NfsSharePermission

Gets information about permissions that an NFS server grants to exported NFS shares.

Get-NfsStatistics

Gets RPC call statistics that an NFS server maintains.

Grant-NfsSharePermission

Grants permission to access shares that an NFS server exports.

Install-NfsMappingStore

Installs and initializes an AD LDS instance as an identity mapping store.

New-NfsClientgroup

Creates a client group on an NFS server.

New-NfsMappedIdentity

Creates a new NFS mapped identity.

New-NfsNetgroup

Creates a netgroup.

New-NfsShare

Creates an NFS file share.

Remove-NfsClientgroup

Removes a client group from an NFS server.

Remove-NfsMappedIdentity

Removes a mapping between a UNIX account and a Windows account.

Remove-NfsNetgroup

Removes a netgroup.

Remove-NfsShare

Stops sharing NFS shares.

Rename-NfsClientgroup

Renames a client group on an NFS server.

Reset-NfsStatistics

Resets RPC call statistics that an NFS server maintains.

Resolve-NfsMappedIdentity

Resolves the mapping of a Windows user account or group account to a UNIX identifier.

Revoke-NfsClientLock

Releases file locks that a client computer holds on an NFS server.

Revoke-NfsMountedClient

Revokes a mounted client from an NFS server.

Revoke-NfsOpenFile

Revokes open files on an NFS server for a client computer.

Revoke-NfsSharePermission

Revokes permission to access shares that an NFS server exports.

Set-NfsClientConfiguration

Changes configuration settings for an NFS client.

Set-NfsClientgroup

Adds and removes client computers from a client group.

Set-NfsMappedIdentity

Modifies a mapped identity.

Set-NfsMappingStore

Modifies configuration settings for an identity mapping store.

Set-NfsNetgroup

Modifies a netgroup.

Set-NfsNetgroupStore

Modifies netgroup configuration settings.

Set-NfsServerConfiguration

Changes configuration settings for an NFS server.

Set-NfsShare

Changes configuration settings of an NFS share.

Test-NfsMappedIdentity

Verifies that a mapped identity is correctly configured.

Test-NfsMappingStore

Verifies that an identity mapping store is configured correctly.

noteNote
To list all the cmdlets that are available, use the Get-Command –Module NFS cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about the cmdlets, see the following:

Network File System

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft