Replace quotes to expand variables in AgentInstallerUri

This commit is contained in:
Corbin 2024-06-04 13:52:06 -04:00
parent 3e1805ad33
commit 23d1df1a09

View File

@ -1,7 +1,7 @@
$PackagePath = 'C:\Packages'
$AgentUninstallFile = 'Agent_Uninstaller.zip'
$AgentUninstallUri = 'https://s3.amazonaws.com/assets-cp/assets/$AgentUninstallFile'
$AgentUninstallUri = "https://s3.amazonaws.com/assets-cp/assets/$AgentUninstallFile"
$AgentUninstallPath = Join-Path -Path $PackagePath -ChildPath $AgentUninstallFile
If (!(Test-Path -PathType Container $PackagePath)) {