DSCResources/DCPP_Performance/DCPP_Performance.psm1

# Import the helper functions

Import-Module $PSScriptRoot\..\..\Misc\helper.psm1 -Verbose:$false

function Get-TargetResource
{
    [CmdletBinding()]
    [OutputType([System.Collections.Hashtable])]
    param
    (
        [parameter(Mandatory = $true)]
        [System.String]
        $Category
    )

    #Write-Verbose "Use this cmdlet to deliver information about command processing."

    #Write-Debug "Use this cmdlet to write debug information while troubleshooting."


    <#
    $returnValue = @{
        Category = [System.String]
        MultiCoreSupport = [System.String]
        IntelSpeedStep = [System.String]
        CStates = [System.String]
        IntelTurboBoost = [System.String]
        HyperThreadControl = [System.String]
        Password = [System.String]
        SecurePassword = [System.String]
        PathToKey = [System.String]
    }
 
    $returnValue
    #>

    
                   # Check if module DellBIOSprovider is already loaded. If not, load it.
   try{
    $bool = Confirm-DellPSDrive -verbose
    }
    catch 
    {
        write-Verbose $_
        $msg = "Get-TargetResource: $($_.Exception.Message)"
        Write-DellEventLog -Message $msg -EventID 1 -EntryType 'Error'
        write-Verbose "Exiting Get-TargetResource"
        return
    }
    if ($bool) {                      
        Write-Verbose "Dell PS-Drive DellSmbios is found."
    }
    else{
        $Message = “Get-TargetResource: Module DellBiosProvider was imported correctly."
        Write-DellEventLog -Message $Message -EventID 2 
    }

    $Get = get-childitem -path @("DellSmbios:\" + $Category)
     # Removing Verbose and Debug from output
    $PSBoundParameters.Remove("Verbose") | out-null
    $PSBoundParameters.Remove("Debug") | out-null

  
    $out = @{}   
    $Get | foreach-Object {$out.Add($_.Attribute, $_.CurrentValue)}
    $out.add('Category', $Category )
    $out

}


function Set-TargetResource
{
    [CmdletBinding()]
    param
    (
        [parameter(Mandatory = $true)]
        [System.String]
        $Category,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $EnableMultiCoreSupport,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $IntelRapidStart,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $CStatesCtrl,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $LimitCpuidValue,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $TurboMode,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $LogicProc,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $HwPrefetcher,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $AdjCachePrefetch,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $DRmt,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $SystemIsochronousMode,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $NodeInterleave,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $IntelRapidStartInstantOnDisplay,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $AmdThreadControl,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $AmdTurboCore,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $MemRSA,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $PcieRSA,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $CpuRSA,
        
        [ValidateSet("Cores1","Cores2","Cores4","Cores6","Cores8","Cores10","Cores12","Cores14","Cores16","CoresAll")]
        [System.String]
        $MultiCoreSupport,
        
        [ValidateSet("Enabled","Disabled","MaximumPerformance","MaximumBattery")]
        [System.String]
        $Speedstep,
        
        [ValidateSet("Early","Home","ClusterOnDie","OppSnoop","NoSnoop")]
        [System.String]
        $CpuSnoopMode,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $ClearDellRmtLog,
        
        [System.UInt32]
        $IrstTimer,

        [System.String]
        $Password,

        [System.String]
        $SecurePassword,

        [System.String]
        $PathToKey
    )

    if (-not(CheckModuleLoaded)) {
        Write-Verbose -Message 'Required module DellBiosProvider does not exist. Exiting.'
        return $true
    }

    $DellPSDrive = get-psdrive -name Dellsmbios
    if ( !$DellPSDrive)
    {
        $Message = "Drive DellSmbios is not found. Exiting."
        Write-Verbose $Message
        Write-DellEventLog -Message $Message -EventID 3 -EntryType "Error"
        return $true
    }
    $attributes_desired = $PSBoundParameters
    $atts = $attributes_desired

    $pathToCategory = $DellPSDrive.Name + ':\' + $atts["Category"]
    
    Dir $pathToCategory -verbose

    $atts.Remove("Verbose") | out-null
    $atts.Remove("Category") | out-null
    $atts.Remove("Debug") | out-null
    $securePwd=$atts["SecurePassword"]
    $passwordSet=$atts["Password"]
    $atts.Remove("Password") | Out-Null
    $atts.Remove("SecurePassword") | Out-Null
    $pathToKey=$atts["PathToKey"]
    if(-Not [string]::IsNullOrEmpty($pathToKey))
    {  
        if(Test-Path $pathToKey)
        {
        $key=Get-Content $pathToKey
        }
        else
        {
        $key=""
        }
    }
    $atts.Remove("PathToKey") | Out-Null
    
    #foreach($a in Import-Csv((Get-DellBIOSEncryptionKey)))
    #{
   # $key+=$a
   # }
    $atts.Keys | foreach-object { 
                   # $atts[$_]
                    $path = $pathToCategory + '\' + $($_)
                    $value = $atts[$_]
            if(-Not [string]::IsNullOrEmpty($securePwd))
            {                
            $pasvar=ConvertTo-SecureString $securePwd.ToString() -Key $key
            Set-Item  -path $path -value $value -verbose -ErrorVariable ev -ErrorAction SilentlyContinue -PasswordSecure $pasvar
            }

            elseif(-Not [string]::IsNullOrEmpty($passwordSet))
            {
            Set-Item  -path $path -value $value -verbose -ErrorVariable ev -ErrorAction SilentlyContinue -Password $passwordSet
            }

            else
            {
            Set-Item  -path $path -value $value -verbose -ErrorVariable ev -ErrorAction SilentlyContinue
            }
                    if ( $ev) { 
                        $cmdline = $ExecutionContext.InvokeCommand.ExpandString($ev.InvocationInfo.Line)
                        $Message = "An error occured in executing " + $cmdline + "`nError message: $($ev.ErrorDetails)"
                        Write-Verbose $Message
                        Write-DellEventLog -Message $Message -EventID 5 -EntryType "Error"
                    }
                    
                 }



}


function Test-TargetResource
{
    [CmdletBinding()]
    [OutputType([System.Boolean])]
    param
    (
        [parameter(Mandatory = $true)]
        [System.String]
        $Category,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $EnableMultiCoreSupport,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $IntelRapidStart,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $CStatesCtrl,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $LimitCpuidValue,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $TurboMode,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $LogicProc,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $HwPrefetcher,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $AdjCachePrefetch,

        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $DRmt,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $SystemIsochronousMode,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $NodeInterleave,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $IntelRapidStartInstantOnDisplay,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $AmdThreadControl,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $AmdTurboCore,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $MemRSA,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $PcieRSA,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $CpuRSA,
        
        [ValidateSet("Cores1","Cores2","Cores4","Cores6","Cores8","Cores10","Cores12","Cores14","Cores16","CoresAll")]
        [System.String]
        $MultiCoreSupport,
        
        [ValidateSet("Enabled","Disabled","MaximumPerformance","MaximumBattery")]
        [System.String]
        $Speedstep,
        
        [ValidateSet("Early","Home","ClusterOnDie","OppSnoop","NoSnoop")]
        [System.String]
        $CpuSnoopMode,
        
        [ValidateSet("Enabled","Disabled")]
        [System.String]
        $ClearDellRmtLog,
        
        [System.UInt32]
        $IrstTimer,

        [System.String]
        $Password,

        [System.String]
        $SecurePassword,

        [System.String]
        $PathToKey    
    )

    $Get = Get-TargetResource $PSBoundParameters['Category'] -verbose

    New-DellEventLog
 
    $PSBoundParameters.Remove("Verbose") | out-null
    $PSBoundParameters.Remove("Debug") | out-null
    $PSBoundParameters.Remove("Category") | out-null
    $PSBoundParameters.Remove("Password") | out-null
    $PSBoundParameters.Remove("SecurePassword") | out-null

    $attributes_desired = $PSBoundParameters

    $bool = $true

    foreach ($config_att in  $PSBoundParameters.GetEnumerator())
    {
        if ($Get.ContainsKey($config_att.Key)) {
            $currentvalue = $Get[$config_att.Key]
            $currentvalue_nospace = $currentvalue -replace " ", ""
            if ($config_att.Value -ne $currentvalue_nospace){
                $bool = $false
                $drift  = "`nCurrentValue: $currentvalue_nospace`nDesiredValue: $($config_att.value)"
                $message = "Configuration is drifted in category $Category for $($config_att.Key). $drift"
                write-verbose $message
                Write-DellEventLog -Message $message -EventID 4 -EntryType Warning
            
            }
            else {
                write-Debug "Configuration is same for $config_att."
            }
    }
    else
    {
        $message = "Unsupported attribute $($config_att)"
        Write-Verbose $message
    }
   }
   return $bool

}


Export-ModuleMember -Function *-TargetResource


# SIG # Begin signature block
# MIIqwQYJKoZIhvcNAQcCoIIqsjCCKq4CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCAQvSYaxFjOM+m
# cYtVkgErdIvTE8NdE50PpCRIk5YovaCCElwwggXfMIIEx6ADAgECAhBOQOQ3VO3m
# jAAAAABR05R/MA0GCSqGSIb3DQEBCwUAMIG+MQswCQYDVQQGEwJVUzEWMBQGA1UE
# ChMNRW50cnVzdCwgSW5jLjEoMCYGA1UECxMfU2VlIHd3dy5lbnRydXN0Lm5ldC9s
# ZWdhbC10ZXJtczE5MDcGA1UECxMwKGMpIDIwMDkgRW50cnVzdCwgSW5jLiAtIGZv
# ciBhdXRob3JpemVkIHVzZSBvbmx5MTIwMAYDVQQDEylFbnRydXN0IFJ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