-
Notifications
You must be signed in to change notification settings - Fork 82
OfflineDomainJoin
Daniel Scott-Raynsford edited this page Aug 23, 2018
·
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 Example
{
param
(
[Parameter()]
[System.String[]]
$NodeName = 'localhost'
)
Import-DscResource -ModuleName ComputerManagementDsc
Node $NodeName
{
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