Skip to content

Commit

Permalink
Wrap domain join password in ' in PowerShell
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenAelterman committed Oct 25, 2023
1 parent 99feeba commit 114d4ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ param domainJoinUserPassword string
// Variable declaration //
// =========== //

var varscriptArgumentsWithPassword = '${scriptArguments} -DomainAdminUserPassword ${domainJoinUserPassword} -verbose'
var varscriptArgumentsWithPassword = '${scriptArguments} -DomainAdminUserPassword \'${domainJoinUserPassword}\' -verbose'

// =========== //
// Deployments //
Expand Down

0 comments on commit 114d4ca

Please sign in to comment.