Repro steps:
Specify url that doesn’t exist in Start-GuestConfigurationPackage
PS /home/azureuser/ps72> Start-GuestConfigurationPackageRemediation -path https://github.com/amitsara/PowerShell-DSC-for-Linux/raw/master/new_policies/createFiles.zip -Verbose
VERBOSE: Guest Configuration Agent binaries already installed at '/var/lib/GuestConfig/bin/3.3.0/GC', skipping.
Install-GuestConfigurationPackage: The variable '$PackageZipPath' cannot be retrieved because it has not been set.
Expected:
Cmdlet should print the supplied path in the error
Repro steps: Specify url that doesn’t exist in Start-GuestConfigurationPackage
PS /home/azureuser/ps72> Start-GuestConfigurationPackageRemediation -path https://github.com/amitsara/PowerShell-DSC-for-Linux/raw/master/new_policies/createFiles.zip -Verbose VERBOSE: Guest Configuration Agent binaries already installed at '/var/lib/GuestConfig/bin/3.3.0/GC', skipping. Install-GuestConfigurationPackage: The variable '$PackageZipPath' cannot be retrieved because it has not been set.
Expected: Cmdlet should print the supplied path in the error