Obs/bin/ObsDep/content/Powershell/Common/WinRMDiagnosticHelpers.psm1

<###################################################
 # #
 # Copyright (c) Microsoft. All rights reserved. #
 # #
 ##################################################>


function Get-WinRMComputerName
{
    <#
    .SYNOPSIS
        Returns the computer name associated with a WinRM failure, or null if the error message is not from a WinRM failure.
    #>

    [CmdletBinding()]
    param
    (
        [Parameter(Mandatory = $true)]
        [string]
        $ErrorMessage
    )

    $ErrorActionPreference = "Stop"

    if ([string]::IsNullOrWhiteSpace($ErrorMessage))
    {
        return $null
    }

    $match = [System.Text.RegularExpressions.Regex]::Match($ErrorMessage, "Connecting to remote server (\S+) failed with the following error message")

    if ($match.Groups.Count -ne 2)
    {
        return $null
    }

    return $match.Groups[1].Value
}

function Debug-WinRMConnection
{
    <#
    .SYNOPSIS
        Attempts to determine why the specified computer could not be reached using WinRM.
 
        1. Checks whether a command can be invoked remotely on the computer using the domain admin credential.
        2. Checks whether the computer can be pinged.
        3. If the computer is a VM, then checks whether the VM exists.
        4. If the computer is a VM, then checks whether the VM is running.
        5. If the computer is a VM, then checks whether a command can be invoked remotely on the computer using PowerShell Direct from its host.
    #>

    [CmdletBinding()]
    param
    (
        [Parameter(Mandatory = $true)]
        [string]
        $ComputerName,

        [Parameter(Mandatory = $true)]
        [CloudEngine.Configurations.EceInterfaceParameters]
        $Parameters
    )

    $ErrorActionPreference = "Stop"

    Import-Module "$PSScriptRoot\..\Roles\Common\RoleHelpers.psm1" -DisableNameChecking -Verbose:$false

    # Check whether Invoke-Command works remotely.
    $domainAdminCredential = Get-DomainCredential -Parameters $Parameters
    Trace-Execution "Testing WinRM on $ComputerName by attempting to invoke a command using the domain admin credential."

    try
    {
        Invoke-Command -ComputerName $ComputerName -Credential $domainAdminCredential -ScriptBlock { ; }

        Trace-Execution "Successfully invoked command on $ComputerName using the domain admin credential."
        return
    }
    catch
    {
        Trace-Warning "Failed to invoke command on $ComputerName using the domain admin credential: $_"
    }

    # Check whether the machine can be pinged.
    Trace-Execution "Testing network connectivity to $ComputerName from $([System.Environment]::MachineName)."

    if ((Test-NetConnection $ComputerName).PingSucceeded)
    {
        Trace-Execution "Successfully pinged $ComputerName from $([System.Environment]::MachineName)."
        return
    }

    Trace-Warning "Failed to ping $ComputerName from $([System.Environment]::MachineName)."

    # Check Hyper-V state if the machine is a VM.
    [string[]]$physicalHosts = $Parameters.Roles["BareMetal"].PublicConfiguration.Nodes.Node.Name
    [string[]]$clusters = Get-ClusterNames $Parameters

    if (($physicalHosts -inotcontains $ComputerName) -and ($clusters -inotcontains $ComputerName))
    {
        Trace-Execution "Testing Hyper-V state of the VM $ComputerName."

        $vm = $null
        $targetHost = $null

        foreach ($physicalHost in $physicalHosts)
        {
            try
            {
                $vm = Get-VM -ComputerName $physicalHost -Credential $domainAdminCredential | Where-Object { $_.Name -ieq $ComputerName }
            }
            catch
            {
                Trace-Warning "An exception was thrown by Get-VM when targeting $($physicalHost): $_"
            }

            if ($null -ne $vm)
            {
                $targetHost = $physicalHost
                break
            }
        }

        if ($null -eq $vm)
        {
            Trace-Warning "The VM $ComputerName was not found."
            return
        }

        if ($vm.State -ne "Running")
        {
            Trace-Warning "The VM $ComputerName is in $($vm.State) state."
            return
        }

        Trace-Execution "Testing PowerShell Direct from $targetHost to $ComputerName."

        try
        {
            Invoke-Command $targetHost -Credential $domainAdminCredential -Authentication Credssp -ScriptBlock {
                Invoke-Command -VMName $using:ComputerName -Credential $using:domainAdminCredential -ScriptBlock { ; }
            }

            Trace-Execution "Successfully invoked command from $targetHost to $ComputerName using PowerShell Direct."
        }
        catch
        {
            Trace-Warning "Failed to invoke command from $targetHost to $ComputerName using PowerShell Direct: $_"
        }
    }
    else
    {
        Trace-Warning "$ComputerName is a physical host or cluster. Cannot test the Hyper-V state."
    }
}

Export-ModuleMember -Function Debug-WinRMConnection
Export-ModuleMember -Function Get-WinRMComputerName
# SIG # Begin signature block
# MIIoKQYJKoZIhvcNAQcCoIIoGjCCKBYCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgE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