private/BootMedia/Steps/Step-BootImageDismGetIntl.ps1

#Requires -PSEdition Core

function Step-BootImageDismGetIntl {
    <#
    .SYNOPSIS
        Logs the DISM Get-Intl configuration of the mounted WinPE image.
 
    .NOTES
        Author: David Segura
        Version: 0.1.0
    #>

    [CmdletBinding()]
    param ()

    $MountPath = $global:BuildMedia.MountPath
    $LogsPath = $global:BuildMedia.LogsPath

    Write-OSDeployCoreProgress 'DISM Get-Intl Configuration'
    $CurrentLog = "$LogsPath\$((Get-Date).ToString('yyMMdd-HHmmss'))-Get-Intl.log"
    dism.exe /image:"$MountPath" /Get-Intl /LogPath:"$CurrentLog"
}