diff --git a/Tasks/MSDeployPackageSync/MSDeployPackageSync.ps1 b/Tasks/MSDeployPackageSync/MSDeployPackageSync.ps1 index 21891d3..5aad57c 100644 --- a/Tasks/MSDeployPackageSync/MSDeployPackageSync.ps1 +++ b/Tasks/MSDeployPackageSync/MSDeployPackageSync.ps1 @@ -86,7 +86,7 @@ $msdeploy = Join-Path $InstallPath "msdeploy.exe" Write-Host "Deploying $($packageFile.FileName) package to $DestinationComputer" -$remoteArguments = "computerName='$DestinationComputer',userName='$UserName',password='$Password',authType='$AuthType'," +$remoteArguments = "computerName='$DestinationComputer',userName='$UserName',password=""$Password"",authType='$AuthType'," if (-not $DestinationComputer -or -not $AuthType) { Write-Host "No destination or authType defined, performing local operation"