Skip to content

Commit 6d0539e

Browse files
committed
Fix DJOIN Command
1 parent 9b8bc42 commit 6d0539e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DSCResources/MSFT_xOfflineDomainJoin/MSFT_xOfflineDomainJoin.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function Join-Domain {
171171
-f $RequestFile `
172172
) -join '' )
173173

174-
& djoin.exe /REQUESTODJ /LOADFILE $RequestFile
174+
& djoin.exe @('/REQUESTODJ','/LOADFILE',$RequestFile,'/WINDOWSPATH',$ENV:SystemRoot)
175175

176176
# Notify DSC that a reboot is required.
177177
$global:DSCMachineStatus = 1

0 commit comments

Comments
 (0)