Failover Cluster Cmdlets in Windows PowerShell
Letzte Aktualisierung: Oktober 2015
Betrifft: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview
Windows PowerShell® ist eine speziell für die Systemverwaltung entwickelte taskbasierte Befehlszeilenshell und Skriptsprache. In diesem Referenzthema für IT-Experten wird die Verwendung der Windows PowerShell-Cmdlets zum Erstellen von Skripts für Tasks und Automatisieren von Tasks erläutert.
Failover Clusters
This reference provides cmdlet descriptions and syntax for all failover cluster-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
Cmdlet | Description |
---|---|
Adds a cryptographic key checkpoint or registry checkpoint for a resource.Adds a cryptographic or registry checkpoint for a resource. |
|
Makes a new disk available for use in a failover cluster. |
|
Creates a clustered file server (resource group that includes one or more disks, on which shared folders can be created for users). |
|
Configures high availability for an application that was not originally designed to run in a failover cluster. |
|
Configures an application controlled by a script that runs in Windows Script Host, within a failover cluster. |
|
Configures high availability for a service that was not originally designed to run in a failover cluster. |
|
Adds an empty resource group to the failover cluster configuration, in preparation for adding clustered resources to the group. |
|
Creates a highly available iSCSI Target server. |
|
Adds a node (server) to a failover cluster. |
|
Creates a clustered print server, a resource group that includes a printer and a disk for storing print job information and printer drivers. |
|
Adds a resource to a clustered role, or resource group, in a failover cluster. |
|
Adds a resource to the list of resources on which a particular resource depends, using AND as the connector, within a failover cluster. |
|
Adds a resource type to a failover cluster, and specifies information such as the dynamic-link library (DLL) to use with that resource type. |
|
Creates a clustered file server for scale-out application data. |
|
Creates a highly available basic server that contains only a client access point and storage. |
|
Makes a volume available in Cluster Shared Volumes in a failover cluster. |
|
Creates a clustered virtual machine, that is, a virtual machine that can be failed over if necessary to a different server in the failover cluster. |
|
Configures monitoring for a service or an Event Tracing for Windows (ETW) event so that it is monitored on a virtual machine. |
|
Prevents the specified user or users from accessing a failover cluster. |
|
Clears the persistent reservation on a disk in a failover cluster. |
|
Clears the cluster configuration from a node that was evicted from a failover cluster. |
|
Disables Storage Spaces Direct. |
|
Enables Storage Spaces Direct. |
|
Gets information about one or more failover clusters in a given domain. |
|
Gets information about permissions that control access to a failover cluster. |
|
Gets information about the disks that can support failover clustering and are visible to all nodes, but are not yet part of the set of clustered disks. |
|
Retrieves a cryptographic key checkpoint or registry checkpoint for a resource. |
|
Gets diagnostics for a cluster that contains virtual machines. |
|
Gets information about one or more clustered roles (resource groups) in a failover cluster. |
|
Creates a log file for all nodes, or a specific a node, in a failover cluster. |
|
Gets information about one or more networks in a failover cluster. |
|
Gets information about one or more network adapters in a failover cluster. |
|
Gets information about one or more nodes, or servers, in a failover cluster. |
|
Gets information about which nodes can own a resource in a failover cluster or information about the order of preference among owner nodes for a clustered role. |
|
Gets detailed information about an object in a failover cluster, such as a cluster resource. |
|
Gets information about the quorum configuration of a failover cluster. |
|
Gets information about one or more resources in a failover cluster. |
|
Gets information about the dependencies that have been configured between clustered resources in a failover cluster. |
|
Generates a report that lists the dependencies between resources in a failover cluster. |
|
Gets information about one or more resource types in a failover cluster. |
|
Gets information about Cluster Shared Volumes in a failover cluster. |
|
Gets the state of Cluster Shared Volumes in a cluster. |
|
Gets the list of services and events currently being monitored in the virtual machine. |
|
Grants access to a failover cluster, either full access or read-only access. |
|
Moves a clustered role, a resource group, from one node to another in a failover cluster. |
|
Moves a clustered resource from one clustered role to another within a failover cluster. |
|
Moves a Cluster Shared Volume (CSV) to ownership by a different node in a failover cluster. |
|
Moves the ownership of a clustered virtual machine to a different node. |
|
Creates a new failover cluster. |
|
Creates a cluster name account in Active Directory-Domänendienste. |
|
Destroys an existing failover cluster. |
|
Removes a user from the access list on the cluster. |
|
Removes a cryptographic key checkpoint or registry checkpoint for a resource. |
|
Removes a clustered role, also called a resource group, from a failover cluster. |
|
Removes a node from a failover cluster. |
|
Removes a clustered resource from the failover cluster. |
|
Removes a dependency between two resources in a clustered role within a failover cluster. |
|
Removes a resource type from a failover cluster. |
|
Removes a volume from the Cluster Shared Volumes in a failover cluster, and places it in Available Storage in the cluster. |
|
Removes monitoring of a service or event that is currently being monitored on a virtual machine. |
|
Resets the Application Critical state of a virtual machine, so that the virtual machine is no longer marked as being in a critical state in the cluster. |
|
Resumes a node from the paused state or brings back drained workloads to the node or both. |
|
Turns off maintenance for a disk resource or Cluster Shared Volume within a failover cluster. |
|
Sets the size and level of detail for the cluster log. |
|
Specifies which nodes can own a resource in a failover cluster or specifies the order of preference among owner nodes for a clustered role, or a resource group. |
|
Controls specific properties of an object in a failover cluster, such as a resource, a group, or a network. |
|
Configures quorum options for a failover cluster. |
|
Specifies the resources that a particular resource depends on within a failover cluster. |
|
Starts the Cluster service on all nodes of the cluster on which it is not yet started. |
|
Starts one or more clustered roles, also known as resource groups, on a failover cluster. |
|
Starts the Cluster service on a node in a failover cluster. |
|
Brings a resource online in a failover cluster. |
|
Stops the Cluster service on all nodes in a failover cluster, which will stop all services and applications configured in the cluster. |
|
Stops one or more clustered roles, also known as resource groups, on a failover cluster. |
|
Stops the Cluster service on a node in a failover cluster. |
|
Takes a resource offline in a failover cluster. |
|
Suspends activity on a failover cluster node, that is, pause the node. |
|
Turns on maintenance for a disk resource or Cluster Shared Volume so that you can run a disk maintenance tool without triggering failover. |
|
Runs validation tests for failover cluster hardware and settings. |
|
Simulates a failure of a cluster resource. |
|
Updates the functional level of a mixed-version cluster. |
|
Renews or releases the DHCP lease for an IP address resource in a failover cluster. |
|
Registers existing Network Name resources with a DNS server in a way that does not interrupt cluster availability. |
|
Refreshes the configuration of a clustered virtual machine within a failover cluster. |
Hinweis
To list all the cmdlets that are available, use the Get-Command -Module FailoverClusters
cmdlet.
Weitere Informationen zu den einzelnen Cmdlets (bzw. deren Syntax) erhalten Sie, wenn Sie das Cmdlet Get-Help
<Cmdlet-Name> verwenden. Dabei ist <Cmdlet-Name> der Name des Cmdlets, zu dem Informationen gewünscht werden. Führen Sie eines der folgenden Cmdlets aus, um ausführlichere Informationen zu erhalten:
● Get-Help
<Cmdlet-Name> -Detailed
● Get-Help
<Cmdlet-Name> -Examples
● Get-Help
<Cmdlet-Name> -Full
More Information
For more information about the cmdlets, see Failover Clustering in the Windows Server Library.