diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 index 60988b461..f45496638 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -248,5 +248,6 @@ function Get-AptPackages { } function Get-PipxVersion { - return "Pipx $(pipx --version 2> $null)" + $result = (Get-CommandResult "pipx --version").Output + return "Pipx $result" } \ No newline at end of file