Examples/Resources/OfflineDomainJoin/1-JoinDomainUsingODJBlob.ps1

<#
    .EXAMPLE
    This example will join the computer to a domain using the ODJ
    request file C:\ODJ\ODJRequest.txt.
#>

Configuration Example
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )

    Import-DscResource -ModuleName ComputerManagementDsc

    Node $NodeName
    {
        OfflineDomainJoin ODJ
        {
          IsSingleInstance = 'Yes'
          RequestFile      = 'C:\ODJ\ODJBlob.txt'
        }
    }
}