Commit 44741e4d authored by Saleh Raghib's avatar Saleh Raghib
Browse files

Fix variable reference in string

parent a7411d18
......@@ -42,7 +42,7 @@ debug "Creating PSCredential object..."
$psCreds = New-Object -typename System.Management.Automation.PSCredential -argumentlist $user, $secpass
# Copy AD module files from wintools to correct locations
$dest = "$RootDriveLetter:\windows"
$dest = "${RootDriveLetter}:\windows"
robocopy /s /r:3 /w:5 $ADModuleSource $dest *.* 2>&1
# Import PowerShell AD module
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment