EndpointManager icon indicating copy to clipboard operation
EndpointManager copied to clipboard

Update Invoke-LenovoInventory.ps1

Open ronmanp opened this issue 2 years ago • 1 comments

Warranty End Date was wrongly formatted for me. Value in WMI is : "EndDate : 2023-06-15 00:00:00" Value reported to Log Analytics : "6-15-3--20"

Replaced the formatting commands with Get-Date and confirmed the script now returns the desired Warranty End Date value of 2023-06-15 in my case.

ronmanp avatar Jan 04 '23 14:01 ronmanp

Totally forgot to mention how great this workbook, script and most importantly your guide are. Many thanks!

ronmanp avatar Jan 04 '23 14:01 ronmanp