PowerShell Logo Small

New-NfsClientgroup



This is the built-in help made by Microsoft for the command 'New-NfsClientgroup', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a client group on an NFS server.

SYNTAX


New-NfsClientgroup [-ClientGroupName] <String> [[-AddMember] <String[]>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-NfsClientGroup cmdlet creates a Network File System (NFS) client group on a target computer. You can add one or more client computers
to the new client group by using the AddMember parameter. You can also add and remove members of the client group by using the
Set-NfsClientGroup cmdlet.



<

RELATED LINKS

Get-NfsClientgroup
Remove-NfsClientgroup
Rename-NfsClientgroup
Set-NfsClientgroup

REMARKS

<

Examples


Example 1: Create a client group and add members by using host names

PS C:\> New-NfsClientGroup -ClientGroupName "Contoso-Group1" -AddMember ("joe-desktop", "bill-laptop")
ClientGroupMembers : {joe-desktop,bill-laptop}
ClientGroupName : Contoso-Group1
PSComputerName :



This command creates a client group named Contoso-Group1 and adds client computers to the new client group by using the host names of the
client computers.




Example 2: Create a client group that has no members

PS C:\> New-NfsClientGroup -Name "Contoso-Group2"
ClientGroupMembers :
ClientGroupName : Contoso-Group2
PSComputerName :



This command creates a client group named Contoso-Group2. No members are added to the new client group.




Example 3: Create a client group and add a member by using an IP address

PS C:\> New-NfsClientGroup -Name "Contoso-Group2" -AddMember "10.121.24.132"

ClientGroupMembers : {10.121.24.132}
ClientGroupName : Contoso-Group2
PSComputerName :



This command creates a client group named Contoso-Group2 and adds a client computer that has the IP address 10.121.24.132 to the client group.