AzStackHciRemoteSupport/AzStackHCI.RemoteSupport.Helpers.psm1

<#############################################################
 # #
 # Copyright (C) Microsoft Corporation. All rights reserved. #
 # #
 #############################################################>

Import-LocalizedData -BindingVariable lvsTxt -FileName AzStackHCI.RemoteSupport.Strings.psd1

function Invoke-InstallModule
{
    param (
        [Parameter(Mandatory=$true)]
        [string]
        $ModuleName
    )

    try
    {
        $module = Get-Module -Name $ModuleName -ListAvailable | Sort-Object -Property Version -Descending | Microsoft.PowerShell.Utility\Select-Object "Name", "Version"

        if([string]::IsNullOrWhiteSpace($module))
        {
            Trace-Execution "Installing $ModuleName module..."
            Install-Module $ModuleName -Force -AllowClobber | Out-Null
        }
        else
        {
            Trace-Execution "$ModuleName module already exists $($module.Name) $($module.Version)"
        }
    }
    catch
    {
        $exception = $_
        Trace-Execution "Install module failed. $exception"
        Trace-Execution "$($exception.ScriptStackTrace)"
        throw $exception
    }
}

function Install-AzStackHciRemoteSupport
{
    param (
    )

    try
    {
        $OperationType = $MyInvocation.MyCommand

        # Install Az.StackHCI module if doesn't exist
        Invoke-InstallModule -ModuleName "Az.StackHCI"

        # Install Remote Support
        Az.StackHCI\Install-AzStackHCIRemoteSupport
    }
    catch
    {
        $exception = $_
        Trace-Execution "Install-AzStackHciRemoteSupport failed. $exception"
        Trace-Execution "$($exception.ScriptStackTrace)"
        throw $exception
    }
}


function Enable-AzStackHciRemoteSupport
{
    param (
        [Parameter(Mandatory=$true)]
        [ValidateSet("Diagnostics","DiagnosticsRepair")]
        [string]
        $AccessLevel,

        [Parameter(Mandatory=$false)]
        [int]
        $ExpireInMinutes = 480,

        [Parameter(Mandatory=$false)]
        [string]
        $SasCredential,

        [Parameter(Mandatory=$false)]
        [switch]
        $AgreeToRemoteSupportConsent
    )

    try
    {
        $OperationType = $MyInvocation.MyCommand

        # Install Az.StackHCI module if doesn't exist
        Invoke-InstallModule -ModuleName "Az.StackHCI"

        # Install Remote Support
        Az.StackHCI\Install-AzStackHCIRemoteSupport

        # Enable Remote Support
        $cmdResult = Az.StackHCI\Enable-AzStackHCIRemoteSupport -AccessLevel $AccessLevel -ExpireInMinutes $ExpireInMinutes -SasCredential $SasCredential -AgreeToRemoteSupportConsent:$AgreeToRemoteSupportConsent

        # Build Result
        $now = [datetime]::UtcNow
        $targetComputerName = $ENV:COMPUTERNAME

        $aggregateStatus = if( -not ([string]::IsNullOrWhiteSpace($cmdResult)) -and $cmdResult.State -eq "Active" -and $cmdResult.ConnectionStatus -eq "Connected" -or "Connecting") {'SUCCESS'} else {'FAILURE'}

        $params = @{
            Name               = 'AzStackHci_Enable_RemoteSupport'
            Title              = 'Standalone Remote Support: Enable'
            DisplayName        = 'Standalone Remote Support: Enable'
            Severity           = 'INFORMATIONAL'
            Description        = 'Test to check observability RemoteSupport requirement is met'
            Tags               = @{
                'OperationType' = $OperationType
            }
            Remediation        = ''
            TargetResourceID   = $targetComputerName
            TargetResourceName = $targetComputerName
            TargetResourceType = 'RemoteSupportEndpoint'
            Timestamp          = [datetime]::UtcNow
            Status             = $cmdResult.State
            AdditionalData     = @{
                State = $cmdResult.State
                CreatedAt = $cmdResult.CreatedAt
                UpdatedAt = $cmdResult.UpdatedAt
                ConnectionStatus = $cmdResult.ConnectionStatus
                ConnectionErrorMessage = $cmdResult.ConnectionErrorMessage
                TargetService = $cmdResult.TargetService
                AccessLevel = $cmdResult.AccessLevel
                ExpiresAt = $cmdResult.ExpiresAt
            }
            HealthCheckSource  = $ENV:EnvChkrId
        }
        $enableResult = New-AzStackHciResultObject @params
        return $enableResult
    }
    catch
    {
        $exception = $_
        Trace-Execution "Enable-AzStackHciRemoteSupport failed. $exception"
        Trace-Execution "$($exception.ScriptStackTrace)"
        throw $exception
    }
}

function Get-AzStackHCIRemoteSupportAccess
{
    Param(
        [Parameter(Mandatory=$false)]
        [switch]
        $Cluster,

        [Parameter(Mandatory=$false)]
        [switch]
        $IncludeExpired
    )

    try
    {
        $OperationType = $MyInvocation.MyCommand

        # Install Az.StackHCI module if doesn't exist
        Invoke-InstallModule -ModuleName "Az.StackHCI"

        # Get Remote Support access
        $cmdResult = Az.StackHCI\Get-AzStackHCIRemoteSupportAccess -Cluster:$Cluster -IncludeExpired:$IncludeExpired

        # Build Result
        $now = [datetime]::UtcNow
        $targetComputerName = $ENV:COMPUTERNAME
        $cmdResultEmpty = [string]::IsNullOrWhiteSpace($cmdResult)

        if($cmdResultEmpty)
        {
            $aggregateStatus = 'SUCCESS'
        }
        else{
            $aggregateStatus = if( -not $cmdResultEmpty -and $cmdResult.State -eq "Active" -and $cmdResult.ConnectionStatus -eq "Connected" -or "Connecting") {'SUCCESS'} else {'FAILURE'}
        }

        $params = @{
            Name               = 'AzStackHci_Get_RemoteSupportAccess'
            Title              = 'Standalone Remote Support: Get Access'
            DisplayName        = 'Standalone Remote Support: Get Access'
            Severity           = 'INFORMATIONAL'
            Description        = 'Get AzStackHCI Remote Support Access'
            Tags               = @{
                'OperationType' = $OperationType
            }
            Remediation        = ''
            TargetResourceID   = $targetComputerName
            TargetResourceName = $targetComputerName
            TargetResourceType = 'RemoteSupportEndpoint'
            Timestamp          = [datetime]::UtcNow
            Status             = $aggregateStatus
            AdditionalData     = @{
                State = if(-not $cmdResultEmpty) {$cmdResult.State} else {''}
                CreatedAt = if(-not $cmdResultEmpty) {$cmdResult.CreatedAt} else {''}
                UpdatedAt = if(-not $cmdResultEmpty) {$cmdResult.UpdatedAt} else {''}
                ConnectionStatus = if(-not $cmdResultEmpty) {$cmdResult.ConnectionStatus} else {''}
                ConnectionErrorMessage = if(-not $cmdResultEmpty) {$cmdResult.ConnectionErrorMessage} else{''}
                TargetService = if(-not $cmdResultEmpty) {$cmdResult.TargetService} else {''}
                AccessLevel = if(-not $cmdResultEmpty) {$cmdResult.AccessLevel} else {''}
                ExpiresAt = if(-not $cmdResultEmpty) {$cmdResult.ExpiresAt} else {''}
            }
            HealthCheckSource  = $ENV:EnvChkrId
        }
        $GetAccessResult = New-AzStackHciResultObject @params
        return $getAccessResult
    }
    catch
    {
        $exception = $_
        Trace-Execution "Get-AzStackHCIRemoteSupportAccess failed. $exception"
        Trace-Execution "$($exception.ScriptStackTrace)"
        throw $exception
    }
}

function Get-AzStackHCIRemoteSupportSessionHistory
{
    Param(
        [Parameter(Mandatory=$false)]
        [string]
        $SessionId,

        [Parameter(Mandatory=$false)]
        [switch]
        $IncludeSessionTranscript,

        [Parameter(Mandatory=$false)]
        [DateTime]
        $FromDate = (Get-Date).AddDays(-7)
    )

    try
    {
        $OperationType = $MyInvocation.MyCommand

        # Install Az.StackHCI module if doesn't exist
        Invoke-InstallModule -ModuleName "Az.StackHCI"

        # Get Remote Support session history
        $cmdResult = Az.StackHCI\Get-AzStackHCIRemoteSupportSessionHistory -SessionId $SessionId -FromDate $FromDate -IncludeSessionTranscript:$IncludeSessionTranscript

        # Build Result
        $now = [datetime]::UtcNow
        $targetComputerName = $ENV:COMPUTERNAME
        $cmdResultEmpty = [string]::IsNullOrWhiteSpace($cmdResult)

        if($cmdResultEmpty)
        {
            $aggregateStatus = 'SUCCESS'
        }
        else{
            $aggregateStatus = if( -not $cmdResultEmpty -and $cmdResult.State -eq "Active" -and $cmdResult.ConnectionStatus -eq "Connected" -or "Connecting") {'SUCCESS'} else {'FAILURE'}
        }

        $params = @{
            Name               = 'AzStackHci_Get_RemoteSupportSessionHistory'
            Title              = 'Standalone Remote Support: Get Session History'
            DisplayName        = 'Standalone Remote Support: Get Session History'
            Severity           = 'INFORMATIONAL'
            Description        = 'Get AzStackHCI Remote Support session history'
            Tags               = @{
                'OperationType' = $OperationType
            }
            Remediation        = ''
            TargetResourceID   = $targetComputerName
            TargetResourceName = $targetComputerName
            TargetResourceType = 'RemoteSupportEndpoint'
            Timestamp          = [datetime]::UtcNow
            Status             = $aggregateStatus
            AdditionalData     = $cmdResult | ConvertTo-Json
            HealthCheckSource  = $ENV:EnvChkrId
        }
        $getSessionHistoryResult = New-AzStackHciResultObject @params
    }
    catch
    {
        $exception = $_
        Trace-Execution "Get-AzStackHCIRemoteSupportSessionHistory failed. $exception"
        Trace-Execution "$($exception.ScriptStackTrace)"
        throw $exception
    }
}

function Disable-AzStackHciRemoteSupport
{
    param ()

    try
    {
        $OperationType = $MyInvocation.MyCommand

        # Install Az.StackHCI module if doesn't exist
        Invoke-InstallModule -ModuleName "Az.StackHCI"

        # Disable Remote Support
        Az.StackHCI\Disable-AzStackHCIRemoteSupport

        $now = [datetime]::UtcNow
        $targetComputerName = $ENV:COMPUTERNAME

        $aggregateStatus = "SUCCESS"

        $params = @{
            Name               = 'AzStackHci_Disable_RemoteSupport'
            Title              = 'Standalone Remote Support: Disable'
            DisplayName        = 'Standalone Remote Support: Disable'
            Severity           = 'INFORMATIONAL'
            Description        = 'Disable AzStackHCI Remote Support'
            Tags               = @{
                'OperationType' = $OperationType
            }
            Remediation        = ''
            TargetResourceID   = $targetComputerName
            TargetResourceName = $targetComputerName
            TargetResourceType = 'RemoteSupportEndpoint'
            Timestamp          = [datetime]::UtcNow
            Status             = $aggregateStatus
            AdditionalData     = @{}
            HealthCheckSource  = $ENV:EnvChkrId
        }
        $getSessionHistoryResult = New-AzStackHciResultObject @params
        return $getSessionHistoryResult
    }
    catch
    {
        $exception = $_
        Trace-Execution "Disable-AzStackHciRemoteSupport failed. $exception"
        Trace-Execution "$($exception.ScriptStackTrace)"
        throw $exception
    }
}

function Remove-AzStackHciRemoteSupport
{
    param ()

    try
    {
        $OperationType = $MyInvocation.MyCommand

        # Install Az.StackHCI module if doesn't exist
        Invoke-InstallModule -ModuleName "Az.StackHCI"

        # Install Remote Support
        Az.StackHCI\Remove-AzStackHCIRemoteSupport

        $now = [datetime]::UtcNow
        $targetComputerName = $ENV:COMPUTERNAME

        $aggregateStatus = "SUCCESS"
        $params = @{
            Name               = 'AzStackHci_Remove_RemoteSupport'
            Title              = 'Standalone Remote Support: Remove'
            DisplayName        = 'Standalone Remote Support: Remove'
            Severity           = 'INFORMATIONAL'
            Description        = 'Remove AzStackHCI Remote Support'
            Tags               = @{
                'OperationType' = $OperationType
            }
            Remediation        = ''
            TargetResourceID   = $targetComputerName
            TargetResourceName = $targetComputerName
            TargetResourceType = 'RemoteSupportEndpoint'
            Timestamp          = [datetime]::UtcNow
            Status             = $aggregateStatus
            AdditionalData     = @{}
            HealthCheckSource  = $ENV:EnvChkrId
        }
        $removeSessionResult = New-AzStackHciResultObject @params
        return $removeSessionResult
    }
    catch
    {
        $exception = $_
        Trace-Execution "Remove-AzStackHciRemoteSupport failed. $exception"
        Trace-Execution "$($exception.ScriptStackTrace)"
        throw $exception
    }
}

Export-ModuleMember -Function Install-AzStackHciRemoteSupport -Variable MetaData
Export-ModuleMember -Function Enable-AzStackHciRemoteSupport -Variable MetaData
Export-ModuleMember -Function Disable-AzStackHciRemoteSupport -Variable MetaData
Export-ModuleMember -Function Get-AzStackHCIRemoteSupportAccess -Variable MetaData
Export-ModuleMember -Function Get-AzStackHCIRemoteSupportSessionHistory -Variable MetaData
Export-ModuleMember -Function Remove-AzStackHciRemoteSupport -Variable MetaData
# SIG # Begin signature block
# MIInvgYJKoZIhvcNAQcCoIInrzCCJ6sCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAFxgSi1FVyzbwh
# q1Xt1EMDNAu/izX7+MCSDQJZWNa9jqCCDXYwggX0MIID3KADAgECAhMzAAADrzBA
# DkyjTQVBAAAAAAOvMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjMxMTE2MTkwOTAwWhcNMjQxMTE0MTkwOTAwWj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