VMM サーバー上のクリーンアップ スクリプト

VMM サーバーが切断状態になっていた場合は、VMM サーバーでクリーンアップ スクリプトをダウンロードして実行します。

pushd .
try
{
    $error.Clear()
    "This script will remove the old Hyper-V Recovery Manager related properties for this VMM. This can be run in below scenarios :"
    "1. Complete VMM site clean up."
    "2. VMM site clean up in case the associated VMM has become unresponsive. Input in this case will be the VMM ID of the unresponsive server."

    $choice = Read-Host "Enter your choice "

    if($choice -eq 1)
    {
        $vmmid = get-itemproperty 'hklm:\software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup' -Name VMMID
        $vmmid = $vmmid.VmmID

        # $fullCleanup = 1 indicates that clean up all hyper-V recovery manager settings from this VMM.
        $fullCleanup = 1

    }
    else
    {
        try
        {
            [GUID]$vmmid = Read-Host "Enter the VMMId for the unresponsive VMM server  "
        }
        catch
        {
            Write-Host "Error occurred" -ForegroundColor "Red"
            $error[0]
            return
        }

        # $fullCleanup = 0 indicates that clean up only those clouds/VMs which are protecting/protected by the objects on the given VMMId.
        $fullCleanup = 0
    }

    if($vmmid -ne "")
    {

        Write-Host "Proceeding to remove Hyper-V Recovery Manager related properties for this VMM with ID: "  $vmmid
        Write-Host "Before running the script ensure that the VMM service is running."
        Write-Host "In a VMM cluster ensure that the Windows Cluster service is running and run the script on each node."
        Write-Host "The VMM service (or the Cluster role) will be stopped when the script runs. After the script completes, restart the VMM or Cluster service."

        $choice =  Read-Host "Do you want to continue (Y/N) ?"
        ""
        if($choice.ToLower() -eq "y" -or $choice.ToLower() -eq "yes" )
        {
            $isCluster = $false
            $path = 'HKLM:\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup'
            $key = Get-Item -LiteralPath $path -ErrorAction SilentlyContinue
            $name = 'HAVMMName'
            if ($key)
            {
                $clusterName = $key.GetValue($name, $null)
                if($clusterName -eq $null)
                {
                    $serviceName = "SCVMMService"
                    $service = Get-Service -Name $serviceName
                    if ($service.Status -eq "Running")
                    {
                        "Stopping the VMM service..."
                            net stop $serviceName
                    }
                    else
                    {
                        if($service.Status -eq "Stopped")
                        {
                            "VMM service is not running."
                        }
                        else
                        {
                            "Could not stop the VMM service as it is starting or stopping. Please try again later"
                            return
                        }

                    }
                }
                else
                {
                    $isCluster = $True
                    $isPrimaryNode = $false
                    $clusterName = $key.GetValue($name, $null)

                    Write-Host "Clustered VMM detected"

                    $clusService = Get-Service -Name ClusSvc
                    Add-Type -AssemblyName System.ServiceProcess
                    if ($clusService.Status -ne [System.ServiceProcess.ServiceControllerStatus]::Running)
                    {
                        Write-Host "Windows Cluster service is not running on this machine. Please start Windows cluster service before running this script"
                        return
                    }

                    $clusterResources = Get-ClusterResource -Cluster $clusterName
                    Write-Host "Searching for VMM cluster resource....."

                    foreach ($clusterResource in $clusterResources)
                    {
                        if ($clusterResource.Name -match 'VMM Service')
                        {
                            Write-Host "Found SCVMM Cluster Resource" $clusterResource
                            Write-Host "Cluster owner node is " $clusterResource.OwnerNode
                            $currentHostName = [System.Net.Dns]::GetHostName()
                            $clusterCheckpointList =  get-clustercheckpoint -ResourceName $clusterResource.Name
                            Write-Host "Current node is " $currentHostName

                            if ([string]::Compare($clusterResource.OwnerNode, $currentHostName, $True) -eq 0)
                            {
                                $isPrimaryNode = $True
                                Write-Host "Current node owns VMM cluster resource"
                                Write-Host "Shutting VMM Cluster Resource down"
                                Stop-ClusterResource $clusterResource
                            }
                            else
                            {
                                Write-Error "Current node does not own VMM cluster resource. Please run on this script on $clusterResource.OwnerNode"
                                Exit
                            }

                            break
                        }
                    }
                }
            }
            else
            {
                Write-Error “Failed to find registry keys associated with VMM”
                return
            }

            ""
            "Connect to SCVMM database using"
            "1. Windows Authentication"
            "2. SQL Server Authentication"

            $mode =  Read-Host "Enter your choice "
            ""

            cd 'hklm:\software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings\Sql'
            $connectionString = get-itemproperty . -Name ConnectionString
            $conn = New-Object System.Data.SqlClient.SqlConnection

            if($mode -eq 1)
            {
            "Connecting to SQL via Windows Authentication..."
            $conn.ConnectionString = $connectionString.ConnectionString
            }
            else
            {
                "Connecting to SQL via SQL Server Authentication..."

                $credential = Get-Credential
                $loginName = $credential.UserName
                $password = $credential.password
                $password.MakeReadOnly();
                $conn.ConnectionString = $connectionString.ConnectionString.ToString().split(";",2)[1]
                $sqlcred = New-Object System.Data.SqlClient.SqlCredential($loginName, $password)
                $conn.Credential = $sqlcred
            }

            Write-Host "Connection string: " $conn.ConnectionString
            $conn.Open()
            $transaction = $conn.BeginTransaction("CleanupTransaction");

            try
            {
                $sql = "SELECT TOP 1 [Id]
                        FROM [sysobjects]
                        WHERE [Name] = 'tbl_DR_ProtectionUnit'
                        AND [xType] = 'U'"
                $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                $cmd.Transaction = $transaction
                $rdr = $cmd.ExecuteReader()
                $PUTableExists = $rdr.HasRows
                $rdr.Close()
                $SCVMM2012R2Detected = $false
                if($PUTableExists)
                {
                    $sql = "SELECT [Id]
                            FROM [tbl_DR_ProtectionUnit]"
                    $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                    $cmd.Transaction = $transaction
                    $rdr = $cmd.ExecuteReader()
                    $SCVMM2012R2Detected = $rdr.HasRows
                    $rdr.Close()
                }

                ""
                "Getting all clouds configured for protection..."

                $sql = "SELECT [PrimaryCloudID],
                            [RecoveryCloudID],
                            [PrimaryCloudName],
                            [RecoveryCloudName]
                        FROM [tbl_Cloud_CloudDRPairing]
                        WHERE [PrimaryVMMID] = @VMMId
                        OR [RecoveryVMMID] = @VMMId"
                $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)

                $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                $cmd.Transaction = $transaction
                $da = New-Object System.Data.SqlClient.SqlDataAdapter
                $da.SelectCommand = $cmd
                $ds = New-Object System.Data.DataSet
                $da.Fill($ds, "Clouds") | Out-Null

                if($ds.Tables["Clouds"].Rows.Count -eq 0 )
                {
                    "No clouds were found in protected or protecting status."
                }
                else
                {
                    "Cloud pairing list populated."

                    ""
                    "Listing the clouds and their VMs..."

                    $vmIds = @()

                    foreach ($row in $ds.tables["Clouds"].rows)
                    {
                        ""                    
                        "'{0}' protected by '{1}'" -f $row.PrimaryCloudName.ToString(), $row.RecoveryCloudName.ToString()

                        $sql = "SELECT [ObjectId],
                                    [Name]
                                FROM [tbl_WLC_VObject]
                                WHERE [CloudId] IN (@PrimaryCloudId,@RecoveryCloudId)"
                        $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                        $cmd.Transaction = $transaction
                        $cmd.Parameters.AddWithValue("@PrimaryCloudId",$row.PrimaryCloudId.ToString()) | Out-Null
                        $cmd.Parameters.AddWithValue("@RecoveryCloudId",$row.RecoveryCloudId.ToString()) | Out-Null
                        $rdr = $cmd.ExecuteReader()
                        if($rdr.HasRows)
                        {
                            "VM list:"
                        }
                        else
                        {
                            "No VMs found."
                        }
                        while($rdr.Read())
                        {
                            Write-Host $rdr["Name"].ToString()
                            $vmIds = $vmIds + $rdr["ObjectId"].ToString();
                        }

                        $rdr.Close()
                    }


                    if($vmIds.Count -eq 0)
                    {
                        "No protected VMs are present."
                    }
                    else
                    {
                        ""
                        "Removing recovery settings from all protected VMs..."

                        if($SCVMM2012R2Detected)
                        {
                            $sql = "UPDATE vm
                                    SET [DRState] = 0,
                                        [DRErrors] = NULL,
                                        [ProtectionUnitId] = NULL
                                    FROM
                                        [tbl_WLC_VMInstance] vm
                                        INNER JOIN [tbl_WLC_VObject] vObj
                                        ON vm.[VMInstanceId] = vObj.[ObjectId]
                                        INNER JOIN [tbl_Cloud_CloudDRPairing] cpair
                                        ON vObj.[CloudId] = cpair.[PrimaryCloudID]
                                        OR vObj.[CloudId] = cpair.[RecoveryCloudID]
                                        WHERE cpair.[PrimaryVMMId] = @VMMId
                                        OR cpair.[RecoveryVMMID] = @VMMId"
                            $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                            $cmd.Transaction = $transaction
                            $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                            $cmd.ExecuteNonQuery() | Out-Null
                        }
                        else
                        {
                            $sql = "UPDATE vm
                                    SET [DRState] = 0,
                                        [DRErrors] = NULL
                                    FROM
                                        [tbl_WLC_VMInstance] vm
                                        INNER JOIN [tbl_WLC_VObject] vObj
                                        ON vm.[VMInstanceId] = vObj.[ObjectId]
                                        INNER JOIN [tbl_Cloud_CloudDRPairing] cpair
                                        ON vObj.[CloudId] = cpair.[PrimaryCloudID]
                                        OR vObj.[CloudId] = cpair.[RecoveryCloudID]
                                        WHERE cpair.[PrimaryVMMId] = @VMMId
                                        OR cpair.[RecoveryVMMID] = @VMMId"
                            $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                            $cmd.Transaction = $transaction
                            $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                            $cmd.ExecuteNonQuery() | Out-Null
                        }


                        $sql = "UPDATE hwp
                                SET [IsDRProtectionRequired] = 0
                                FROM
                                    [tbl_WLC_HWProfile] hwp
                                    INNER JOIN [tbl_WLC_VObject] vObj
                                    ON hwp.[HWProfileId] = vObj.[HWProfileId]
                                    INNER JOIN [tbl_Cloud_CloudDRPairing] cpair
                                    ON vObj.[CloudId] = cpair.[PrimaryCloudID]
                                    OR vObj.[CloudId] = cpair.[RecoveryCloudID]
                                    WHERE cpair.[PrimaryVMMId] = @VMMId
                                    OR cpair.[RecoveryVMMID] = @VMMId"
                        $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                        $cmd.Transaction = $transaction
                        $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                        $cmd.ExecuteNonQuery() | Out-Null

                        "Recovery settings removed successfully for {0} VMs" -f $vmIds.Count
                    }


                    ""
                    "Removing recovery settings from all clouds..."
                    if($SCVMM2012R2Detected)
                    {
                        if($fullCleanup -eq 1)
                        {
                            $sql = "DELETE phost
                                    FROM [tbl_DR_ProtectionUnit_HostRelation] phost
                                    INNER JOIN [tbl_Cloud_CloudScopeRelation] csr
                                    ON phost.[ProtectionUnitId] = csr.[ScopeId]
                                    WHERE csr.[ScopeType] = 214"
                            $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                            $cmd.Transaction = $transaction
                            $cmd.ExecuteNonQuery() | Out-Null


                            $sql = "UPDATE [tbl_Cloud_Cloud]
                                    SET [IsDRProtected] = 0,
                                        [IsDRProvider] = 0,
                                        [DisasterRecoverySupported] = 0"
                            $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                            $cmd.Transaction = $transaction
                            $cmd.ExecuteNonQuery() | Out-Null

                        }
                        else
                        {
                            $sql = "DELETE phost
                                    FROM [tbl_DR_ProtectionUnit_HostRelation] phost
                                    INNER JOIN [tbl_Cloud_CloudScopeRelation] csr
                                    ON phost.[ProtectionUnitId] = csr.[ScopeId]
                                    INNER JOIN [tbl_Cloud_CloudDRPairing] cpair
                                    ON csr.[CloudId] = cpair.[primaryCloudId]
                                    OR csr.[CloudId] = cpair.[recoveryCloudId]
                                    WHERE csr.ScopeType = 214
                                    AND cpair.[PrimaryVMMId] = @VMMId
                                    OR cpair.[RecoveryVMMID] = @VMMId"
                            $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                            $cmd.Transaction = $transaction
                            $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                            $cmd.ExecuteNonQuery() | Out-Null

                            $sql = "UPDATE cloud
                                    SET [IsDRProtected] = 0,
                                        [IsDRProvider] = 0
                                    FROM
                                        [tbl_Cloud_Cloud] cloud
                                        INNER JOIN [tbl_Cloud_CloudDRPairing] cpair
                                        ON cloud.[ID] = cpair.[PrimaryCloudID]
                                        OR cloud.[ID] = cpair.[RecoveryCloudID]
                                        WHERE cpair.[PrimaryVMMId] = @VMMId
                                        OR cpair.[RecoveryVMMID] = @VMMId"
                            $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                            $cmd.Transaction = $transaction
                            $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                            $cmd.ExecuteNonQuery() | Out-Null

                        }

                    }

                    # VMM 2012 SP1 detected.
                    else
                    {
                        $sql = "UPDATE cloud
                                SET [IsDRProtected] = 0,
                                    [IsDRProvider] = 0
                                FROM
                                    [tbl_Cloud_Cloud] cloud
                                    INNER JOIN [tbl_Cloud_CloudDRPairing] cpair
                                    ON cloud.[ID] = cpair.[PrimaryCloudID]
                                    OR cloud.[ID] = cpair.[RecoveryCloudID]
                                    WHERE cpair.[PrimaryVMMId] = @VMMId
                                    OR cpair.[RecoveryVMMID] = @VMMId"
                        $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                        $cmd.Transaction = $transaction
                        $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                        $cmd.ExecuteNonQuery() | Out-Null
                    }

                    "Recovery settings removed successfully."

                    ""
                    "Deleting cloud pairing entities..."

                    $sql = "DELETE FROM [tbl_Cloud_CloudDRPairing]
                            WHERE [PrimaryVMMID] = @VMMId
                            OR [RecoveryVMMID] = @VMMId"
                    $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                    $cmd.Transaction = $transaction
                    $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                    $cmd.ExecuteNonQuery() | Out-Null

                    "Cloud pairing entities deleted successfully."
                }


                if ($SCVMM2012R2Detected)
                {
                    "Removing SAN related entries"

                    $sql = "DELETE sanMap
                                    FROM [tbl_DR_ProtectionUnit_StorageArray] sanMap
                                    INNER JOIN [tbl_Cloud_CloudScopeRelation] csr
                                    ON sanMap.[ProtectionUnitId] = csr.[ScopeId]
                                    WHERE csr.[ScopeType] = 214"
                            $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                            $cmd.Transaction = $transaction
                            $cmd.ExecuteNonQuery() | Out-Null

                    "SAN related entities deleted successfully"
                }


                if($fullCleanup -eq 1)
                {
                    # In case of full cleanup reset all VMs protection data.
                    ""
                    "Removing stale entries for VMs..."
                    if($SCVMM2012R2Detected)
                    {
                        $sql = "UPDATE [tbl_WLC_VMInstance]
                                SET [DRState] = 0,
                                    [DRErrors] = NULL,
                                    [ProtectionUnitId] = NULL"
                        $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                        $cmd.Transaction = $transaction
                        $cmd.ExecuteNonQuery() | Out-Null
                    }
                    else
                    {
                        $sql = "UPDATE [tbl_WLC_VMInstance]
                                SET [DRState] = 0,
                                    [DRErrors] = NULL"
                        $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                        $cmd.Transaction = $transaction
                        $cmd.ExecuteNonQuery() | Out-Null
                    }


                    $sql = "UPDATE [tbl_WLC_HWProfile]
                            SET [IsDRProtectionRequired] = 0"
                    $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                    $cmd.Transaction = $transaction
                    $cmd.ExecuteNonQuery() | Out-Null
                    # Done removing stale enteries

                    # Cloud publish settings and registration details are cleaned up even if there are no paired clouds.
                    if($SCVMM2012R2Detected)
                    {
                        ""
                        "Removing cloud publish settings..."

                        # Currently 214 scopeType points to only ProtectionProvider = 1,2 (HVR1 and HVR2).
                        # Once new providers are introduced appropriate filtering should be done before delete
                        # in below two queries.
                        $sql = "DELETE punit
                                FROM [tbl_DR_ProtectionUnit] punit
                                INNER JOIN [tbl_Cloud_CloudScopeRelation] csr
                                ON punit.[ID] = csr.[ScopeId]
                                WHERE csr.[ScopeType] = 214"
                        $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                        $cmd.Transaction = $transaction
                        $cmd.ExecuteNonQuery() | Out-Null


                        $sql = "DELETE FROM [tbl_Cloud_CloudScopeRelation]
                                WHERE [ScopeType] = 214"
                        $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                        $cmd.Transaction = $transaction
                        $cmd.ExecuteNonQuery() | Out-Null
                        "Cloud publish settings removed successfully."
                    }

                    ""
                    "Un-registering VMM..."

                    $currentTime = Get-Date
                    $sql = "UPDATE [tbl_DR_VMMRegistrationDetails]
                            SET [DRSubscriptionId] = '',
                                [VMMFriendlyName] = '',
                                [DRAdapterInstalledVersion] = '',
                                [LastModifiedDate] = @LastModifiedTime,
                                [DRAuthCertBlob] = NULL,
                                [DRAuthCertThumbprint] = NULL,
                                [HostSigningCertBlob] = NULL,
                                [HostSigningCertThumbprint] = NULL,
                                [DRAdapterUpdateVersion] = '',
                                [OrgIdUserName] = ''
                            WHERE [VMMId] = @VMMId"
                    $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                    $cmd.Transaction = $transaction
                    $param1 = $cmd.Parameters.AddWithValue("@LastModifiedTime", [System.Data.SqlDbType]::DateTime)
                    $param1.Value = Get-Date
                    $cmd.Parameters.AddWithValue("@VMMId",$vmmid) | Out-Null
                    $cmd.ExecuteNonQuery() | Out-Null

                    "Un-registration completed successfully."

                    ""
                    "Removing KEK..."

                    $kekid = "06cda9f3-2e3d-49ee-8e18-2d9bd1d74034"
                    $rolloverKekId = "fe0adfd7-309a-429a-b420-e8ed067338e6"
                    $sql = "DELETE FROM [tbl_VMM_CertificateStore]
                            WHERE [CertificateID] IN (@KEKId,@RolloverKekId)"
                    $cmd = New-Object System.Data.SqlClient.SqlCommand($sql,$conn)
                    $cmd.Transaction = $transaction
                    $cmd.Parameters.AddWithValue("@KEKId",$kekid) | Out-Null
                    $cmd.Parameters.AddWithValue("@RolloverKekId",$rolloverKekId) | Out-Null
                    $cmd.ExecuteNonQuery() | Out-Null

                    "Removing KEK completed successfully."

                    if($error.Count -eq 0)
                    {
                        $transaction.Commit()

                        ""
                        "Removing registration related registry keys."

                        $path = "software\Microsoft\Microsoft System Center Virtual Machine Manager Server\DRAdapter\Registration"
                        if((Test-Path "hklm:\$path" ))
                        {
                            if($isCluster -and $isPrimaryNode)
                            {
                                foreach($checkpoint in $clusterCheckpointList)
                                {
                                    $compareResult = [string]::Compare($path, $checkpoint.Name, $True)

                                    if($compareResult -eq 0)
                                    {
                                        Write-Host "Removing Checkpointing for $path"
                                        Remove-ClusterCheckpoint -CheckpointName $path
                                    }
                                }
                            }

                            Remove-Item -Path "hklm:\$path"

                            $proxyPath = "software\Microsoft\Microsoft System Center Virtual Machine Manager Server\DRAdapter\ProxySettings"
                            if((Test-Path "hklm:\$proxyPath"))
                            {
                                if($isCluster -and $isPrimaryNode)
                                {
                                    foreach($checkpoint in $clusterCheckpointList)
                                    {
                                        $compareResult = [string]::Compare($proxyPath, $checkpoint.Name, $True)

                                        if($compareResult -eq 0)
                                        {
                                            Write-Host "Removing Checkpointing for $proxyPath"
                                            Remove-ClusterCheckpoint -CheckpointName $proxyPath
                                        }
                                    }
                                }

                                Remove-Item -Path "hklm:\$proxyPath"
                            }

                            $backupPath = "software\Microsoft\Hyper-V Recovery Manager"
                            if((Test-Path "hklm:\$backupPath"))
                            {
                                if($isCluster -and $isPrimaryNode)
                                {
                                    foreach($checkpoint in $clusterCheckpointList)
                                    {
                                        $compareResult = [string]::Compare($backupPath, $checkpoint.Name, $True)

                                        if($compareResult -eq 0)
                                        {
                                            Write-Host "Removing Checkpointing for $backupPath"
                                            Remove-ClusterCheckpoint -CheckpointName $backupPath
                                        }
                                    }
                                }
                                Remove-Item "hklm:\$backupPath" -recurse
                            }
                            "Registry keys removed successfully."
                            ""
                        }
                        else
                        {
                            "Could not delete registration key as hklm:\software\Microsoft\Microsoft System Center Virtual Machine Manager Server\DRAdapter\Registration doesn't exist."
                        }

                        Write-Host "SUCCESS!!" -ForegroundColor "Green"
                    }
                    else
                    {
                        $transaction.Rollback()
                        Write-Error "Error occurred"
                        $error[0]
                        ""
                        Write-Error "FAILED"
                        "All updates to the VMM database have been rolled back."
                    }
                }
                else
                {
                    if($error.Count -eq 0)
                    {
                        $transaction.Commit()
                        Write-Host "SUCCESS!!" -ForegroundColor "Green"
                    }
                    else
                    {
                        $transaction.Rollback()
                        Write-Error "FAILED"
                    }
                }

                $conn.Close()
            }
            catch
            {
                $transaction.Rollback()
                Write-Host "Error occurred" -ForegroundColor "Red"
                $error[0]
                Write-Error "FAILED"
                "All updates to the VMM database have been rolled back."
            }
        }
    }
    else
    {
        Write-Error "VMM Id is missing from hklm:\software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup or VMMId is not provided."
        Write-Error "FAILED" -ForegroundColor
    }
}

catch
{
    Write-Error "Error occurred"
    $error[0]
    Write-Error "FAILED"
}

if($isCluster)
{
    if($clusterResource.State -eq [Microsoft.FailoverClusters.PowerShell.ClusterResourceState]::Offline)
    {
        Write-Host "Cluster role is in stopped state."
    }
    else
    {
        Write-Host "Operation completed. Cluster role was not stopped."
    }
}
else
{
    Write-Host "The VMM service is in stopped state."
}

popd
# SIG # Begin signature block
# MIId0wYJKoZIhvcNAQcCoIIdxDCCHcACAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU3rRWHH5OCASnIAZsmgmowP/T
# p6egghhkMIIEwzCCA6ugAwIBAgITMwAAAIgVUlHPFzd7VQAAAAAAiDANBgkqhkiG
# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G
# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEw
# HwYDVQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwHhcNMTUxMDA3MTgxNDAx
# WhcNMTcwMTA3MTgxNDAxWjCBszELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp
# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw
# b3JhdGlvbjENMAsGA1UECxMETU9QUjEnMCUGA1UECxMebkNpcGhlciBEU0UgRVNO
# OjdBRkEtRTQxQy1FMTQyMSUwIwYDVQQDExxNaW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