This is the built-in help made by Microsoft for the command 'Add-ClusterFileServerRole', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 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.
Creates a clustered file server (resource group that includes one or more disks, on which shared folders can be created for users).
Add-ClusterFileServerRole [[-Name] <String>] [-Cluster <String>] [-IgnoreNetwork <StringCollection>] [-InputObject <PSObject>] [-StaticAddress <StringCollection>] [-Wait
<Int32>] -Storage <StringCollection> [<CommonParameters>]
The Add-ClusterFileServerRole cmdlet creates a clustered file server (resource group that includes one or more disks, on which shared folders can be created for users).
When adding a clustered file server, specify a name for the file server, any IP address information that is not automatically supplied by your DHCP settings, and the storage
volume or volumes that the clustered file server should use.
Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=321006
Add-ClusterScaleOutFileServerRole
Get-ClusterGroup
Move-ClusterGroup
Remove-ClusterGroup
Start-ClusterGroup
Stop-ClusterGroup
<
Example 1
PS C:\>Add-ClusterFileServerRole -Storage "Cluster Disk 8"
Name OwnerNode State
---- --------- -----
cluster1FS node1 Online
This example creates a clustered file server using Cluster Disk 8, and assigns a default name.
Example 2
PS C:\>Add-ClusterFileServerRole -Storage "Cluster Disk 6" -Name cluster1FS12
Name OwnerNode State
---- --------- -----
cluster1FS12 node1 Online
This example creates a clustered file server using Cluster Disk 6, and assigns the name cluster1FS12.
Example 3
PS C:\>Add-ClusterFileServerRole -Storage "Cluster Disk 8" -Wait 0
Name OwnerNode State
---- --------- -----
cluster1FS node1 Pending
This example creates a clustered file server using Cluster Disk 8, and assigns a default name. The cmdlet completes without waiting for all resources to come online.