OfflineDomainJoin - dsccommunity/ComputerManagementDsc GitHub Wiki
Parameters
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes'. | Yes |
RequestFile | Required | String | The full path to the Offline Domain Join Request file to use. |
Description
The resource allows you to join computers to an Active Directory domain using an Offline Domain Join request file.
Examples
Example 1
This example will join the computer to a domain using the ODJ request file C:\ODJ\ODJRequest.txt.
Configuration OfflineDomainJoin_JoinDomainUsingODJBlob_Config
{
Import-DscResource -ModuleName ComputerManagementDsc
Node localhost
{
OfflineDomainJoin ODJ
{
IsSingleInstance = 'Yes'
RequestFile = 'C:\ODJ\ODJBlob.txt'
}
}
}