Twice in as many weeks, I’ve had PSADT scripts fail reporting that $LogFileDirectory includes illegal characters.
<path>\Deploy-Application.ps1 : Module [<path>\AppDeployToolkit\AppDeployToolkitMain.ps1] Failed to load:
Illegal characters in path.
At <path>\AppDeployToolkitMain.ps1:836 char:13
+... If (-not (Test-Path -LiteralPath $LogFileDirectory -PathType 'Conta...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is anyone else experiencing anything like this?
Both of these were PSADT 3.8.4. Both scripts have been in production for a while. Both of these failures have occurred on my Windows 10 21H2 VMs. I haven’t heard of any widespread failures in production, so maybe its just me.