-
Notifications
You must be signed in to change notification settings - Fork 82
OfflineDomainJoin
dscbot edited this page Dec 11, 2022
·
7 revisions
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. |
The resource allows you to join computers to an Active Directory domain using an Offline Domain Join request file.
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'
}
}
}
- Computer
- IEEnhancedSecurityConfiguration
- OfflineDomainJoin
- PendingReboot
- PowerPlan
- PowerShellExecutionPolicy
- PSResourceRepository
- RemoteDesktopAdmin
- ScheduledTask
- SmbServerConfiguration
- SmbShare
- SystemLocale
- SystemProtection
- SystemRestorePoint
- TimeZone
- UserAccountControl
- VirtualMemory
- WindowsCapability
- WindowsEventLog