Modifier

Partager via


Get-CsPoolUpgradeReadinessState

Returns information indicating whether or not your Skype for Business Server Registrar pools are ready to be upgraded. The upgrade readiness state for a pool is based on the upgrade domains that have been configured for that pool. This cmdlet was introduced in Lync Server 2013.

Syntax

Get-CsPoolUpgradeReadinessState
   [-Confirm]
   [-Force]
   [-WhatIf]
   [-SkipIdleSecondaryVerification]
   [<CommonParameters>]

Description

The Get-CsPoolUpgradeReadinessState cmdlet returns information about the upgrade readiness for a Skype for Business Server pool. The returned information includes the number of Front End servers assigned to the pool; the number of currently active Front End servers; the name of the upgrade domain; and a True/False value that indicates whether the current state of the pool allows it to be upgraded. Note that this cmdlet must be run locally on a Front End server in the pool being checked. There are no options enabling you to run the Get-CsPoolUpgradeReadinessState cmdlet remotely.

The functions carried out by the Get-CsPoolUpgradeReadinessState cmdlet are not available in the Skype for Business Server Control Panel.

In Skype for Business Server 2019, Get-CsPoolUpgradeReadinessState cmdlet was replaced by Get-CsUpgradeDomainInfo cmdlet.

Examples

-------------------------- Example 1 --------------------------

Get-CsPoolUpgradeReadinessState

The command shown in Example 1 returns the upgrade readiness state for the local Registrar pool. Note that this command must be executed on a Front End server located within the pool.

Parameters

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Force

Suppresses the display of any non-fatal error message that might occur when running the command.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-SkipIdleSecondaryVerification

When included in the command, Get-CsPoolUpgradeReadinessState returns even if replicas are still being built. By default, Get-CsPoolUpgradeReadinessState waits until the replicas have been built before completing.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

Inputs

None

Outputs

Microsoft.Rtc.Management.Hadr.PoolUpgradeState