[Ubuntu] Add systemd version to software report (#7387)

This commit is contained in:
sergei-pyshnoi
2023-04-04 17:52:40 +02:00
committed by GitHub
parent e72606ffb6
commit 9e3bbcb5e1
2 changed files with 7 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ $softwareReport = [SoftwareReport]::new("Ubuntu $(Get-OSVersionShort)")
$softwareReport.Root.AddToolVersion("OS Version:", $(Get-OSVersionFull))
$softwareReport.Root.AddToolVersion("Kernel Version:", $(Get-KernelVersion))
$softwareReport.Root.AddToolVersion("Image Version:", $env:IMAGE_VERSION)
$softwareReport.Root.AddToolVersion("Systemd version:", $(Get-SystemdVersion))
$installedSoftware = $softwareReport.Root.AddHeader("Installed Software")