From c0e982c42f7837d547f4e56daf6c551e5b031ea0 Mon Sep 17 00:00:00 2001 From: Zachary Gorman Date: Fri, 14 Mar 2025 13:42:21 -0700 Subject: [PATCH] Fix printerweb and added date to patch --- Get-PC/Get-PC.psd1 | 2 +- Get-PC/Private/SHSPrinter.ps1 | 2 +- Get-PC/patchnotes.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Get-PC/Get-PC.psd1 b/Get-PC/Get-PC.psd1 index fbac39c..3578997 100644 --- a/Get-PC/Get-PC.psd1 +++ b/Get-PC/Get-PC.psd1 @@ -12,7 +12,7 @@ RootModule = 'Get-PC.psm1' # Version number of this module. -ModuleVersion = '0.4.17' +ModuleVersion = '0.4.18' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/Get-PC/Private/SHSPrinter.ps1 b/Get-PC/Private/SHSPrinter.ps1 index 63090d7..ce84159 100644 --- a/Get-PC/Private/SHSPrinter.ps1 +++ b/Get-PC/Private/SHSPrinter.ps1 @@ -423,7 +423,7 @@ $Headers = @{ process { if($printer.DomainName -ne 'No DNS Entry' -and $printer.MAC -ne 'Offline'){ - start "http://$($printer.Hostname).$($printer.DomainName)" + start "http://$($printer.Machine).$($printer.DomainName)" Sleep -Seconds 1 start "https://azporion1/Orion/UDT/EndpointDetails.aspx?NetObject=UE-MAC:VAL=$($printer.MAC)" diff --git a/Get-PC/patchnotes.txt b/Get-PC/patchnotes.txt index e720953..3beab1a 100644 --- a/Get-PC/patchnotes.txt +++ b/Get-PC/patchnotes.txt @@ -1,4 +1,4 @@ -Patch +Patch 2025-3-14 -Fix Queries Spark! by asset tag rather than hostname to also hit in stock workstations -Add Elo monitor ports to -devices -Fix PrinterPurge more accurately reflects how many computers are affected