@@ -39,6 +39,28 @@ You can use this cmdlet to support a rolling OS upgrade for a cluster. If you us
3939runs Hyper-V in which all the nodes run Windows Server 2012 R2, you can upgrade the nodes of that
4040cluster without downtime for your virtual machines.
4141
42+ ## EXAMPLES
43+
44+ ### Example 1: Test a possible update
45+
46+ ``` powershell
47+ Update-ClusterFunctionalLevel -WhatIf
48+ ```
49+
50+ This command tests whether an update would finish successfully. Because the command includes the
51+ ** WhatIf** parameter, the command doesn't perform the update.
52+
53+ ### Example 2: Update a cluster functional level
54+
55+ ``` powershell
56+ Update-ClusterFunctionalLevel -Cluster "cluster_17"
57+ ```
58+
59+ This command updates the cluster functional level of the cluster named ` cluster_17 ` . All of the
60+ nodes of this cluster must already be updated before you run this command.
61+
62+ ### Example 3: Rolling OS upgrade of a cluster
63+
4264First, drain one cluster node by specifying the ** Drain** parameter of the ` Suspend-ClusterNode `
4365cmdlet. This cmdlet causes all virtual machines to live-migrate to one of the other hosts.
4466
@@ -64,26 +86,6 @@ Finally, add the node into the cluster by using the `Add-ClusterNode` cmdlet.
6486
6587Repeat these steps for each node in the cluster.
6688
67- ## EXAMPLES
68-
69- ### Example 1: Test a possible update
70-
71- ``` powershell
72- Update-ClusterFunctionalLevel -WhatIf
73- ```
74-
75- This command tests whether an update would finish successfully. Because the command includes the
76- ** WhatIf** parameter, the command doesn't perform the update.
77-
78- ### Example 2: Update a cluster functional level
79-
80- ``` powershell
81- Update-ClusterFunctionalLevel -Cluster "cluster_17"
82- ```
83-
84- This command updates the cluster functional level of the cluster named ` cluster_17 ` . All of the
85- nodes of this cluster must already be updated before you run this command.
86-
8789## PARAMETERS
8890
8991### -Cluster
0 commit comments