Share via


Getting Started with Windows PowerShell on a Failover Cluster

Updated: October 1, 2009

Applies To: Windows Server 2008 R2

This topic tells how to perform several actions that can help you get started with Windows PowerShell on a failover cluster running Windows ServerĀ® 2008 R2. Windows PowerShell provides an alternative interface for actions that you might otherwise perform with command-line commands or the Failover Cluster Manager snap-in.

Goal Action

Open a Windows PowerShell command prompt from which you can run commands for a failover cluster.

After installing the Failover Clustering feature, click Start, click Administrative Tools, and then click Windows PowerShell Modules. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

For information about installing the Failover Clustering feature, see Install the Failover Clustering Feature (https://go.microsoft.com/fwlink/?LinkId=162264).

View a list of the Windows PowerShell cmdlets available for working on a failover cluster.

On a server on which the Failover Clustering feature has been installed, open a Windows PowerShell command prompt (as described in the first line of this table) and then type:

get-command -module failoverclusters

View detailed help and examples for a specific cmdlet.

On a server on which the Failover Clustering feature has been installed, open a Windows PowerShell command prompt (as described in the first line of this table) and then type:

get-help <cmdlet-name> -full

Where <cmdlet-name> is the name of the cmdlet for which you want to view help.

View examples (only) for a specific cmdlet.

On a server on which the Failover Clustering feature has been installed, open a Windows PowerShell command prompt (as described in the first line of this table) and then type:

get-help <cmdlet-name> -examples

Where <cmdlet-name> is the name of the cmdlet for which you want to view help.

Additional references