Export (0) Print
Expand All
Expand Minimize

Add-ClusterScaleOutFileServerRole

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Add-ClusterScaleOutFileServerRole

Creates a clustered file server for scale-out application data.

Syntax

Parameter Set: InputObject
Add-ClusterScaleOutFileServerRole [[-Name] <String> ] [-Cluster <String> ] [-InputObject <PSObject> ] [-Wait <Int32> ] [ <CommonParameters>]




Detailed Description

The Add-ClusterScaleOutFileServerRole cmdlet creates a clustered file server for scale-out application data. A file server for scale-out application data provides storage for applications or virtual machines that leave files open for extended periods of time. Client connections are distributed across nodes for better throughput. This type of file server supports the Server Message Block (SMB) protocol. It does not support the Network File System (NFS) protocol, or certain role services such as File Server Resource Manager (FSRM) or Distributed File System (DFS) Replication.

Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.

Parameters

-Cluster<String>

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the cluster on which to create the highly available scale-out file server.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the highly available scale-out file server being created.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Wait<Int32>

Specifies the time in seconds to wait for the cmdlet. If the Wait parameter is not specified, then the cmdlet waits for completion. If -Wait 0 is specified, then the call is initiated and the cmdlet returns without waiting.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.FailoverClusters.PowerShell.Cluster

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.FailoverClusters.PowerShell.ClusterGroup

Examples

Example 1

This example creates a highly available Scale-out file server role.


PS C:\> Add-ClusterScaleOutFileServerRole
Name                                    OwnerNode                               State 
----                                    ---------                               ----- 
clusterSOFS                             CLUSTER-N2                              Online 

Example 2

This example creates a highly available scale out file server role. The cmdlet completes without waiting for all resources to come online.


PS C:\> Add-ClusterScaleOutFileServerRole -Wait 0
Name                                    OwnerNode                               State 
----                                    ---------                               ----- 
clusterSOFS                             CLUSTER-N2                              Pending 

Related topics

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