PowerShell Logo Small

Add-ClusterServerRole



This is the built-in help made by Microsoft for the command 'Add-ClusterServerRole', 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.

SYNOPSIS

Creates a highly available basic server that contains only a client access point and storage.

SYNTAX


Add-ClusterServerRole [[-Name] <String>] [-Cluster <String>] [-IgnoreNetwork <StringCollection>] [-InputObject <PSObject>] [-StaticAddress <StringCollection>] [-Storage
<StringCollection>] [-Wait <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-ClusterServerRole cmdlet creates a highly available basic server that contains only a client access point and storage. After adding the basic server, other resources
can be added to create a functional clustered role.


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



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321018
Get-ClusterGroup
Move-ClusterGroup
Remove-ClusterGroup
Start-ClusterGroup
Stop-ClusterGroup

REMARKS

<

Examples


Example 1

PS C:\>Add-ClusterServerRole
Name OwnerNode State
---- --------- -----
cluster1Other node2 Online



This example establishes a default name for a clustered server. It does not specify any storage. Storage and other resources can be added later.




Example 2

PS C:\>Add-ClusterServerRole -Storage "Cluster Disk 3" -Name MainSrv1
Name OwnerNode State
---- --------- -----
MainSrv1 node2 Online



This example creates a clustered service or application using Cluster Disk 3, and assigns the name MainSrv1.




Example 3

PS C:\>Add-ClusterServerRole -Storage "Cluster Disk 4","Cluster Disk 5" -Name MainSrv2
Name OwnerNode State
---- --------- -----
MainSrv2 node2 Online



This example creates a clustered service or application using Cluster Disk 4 and Cluster Disk 5, and assigns the name MainSrv2.