Windows Storage Server Powershell Commands

From DFWLPiki
Jump to: navigation, search

Create NFS Share Client Access Group

New-NfsClientgroup -name GROUPNAME
Set-NfsClientgroup -name GROUPNAME -AddMember CLIENT1
Set-NfsClientgroup -name GROUPNAME -AddMember 111.222.333.444
Set-NfsClientgroup -name GROUPNAME -AddMember CLIENT2

After the group is created, it will show up in the NFS Share wizard as an access option.

Revoke access from an existing NFS Client Group

Set-NfsClientgroup -name GROUPNAME -RemoveMember CLIENT2