fix: Fixed overwrite of manual audit rows

This commit is contained in:
DrIOS
2024-06-18 10:10:22 -05:00
parent 3e5f9b3ac5
commit b78cb17bc1

View File

@@ -10,7 +10,7 @@ function New-MergedObject {
)
$newObject = New-Object PSObject
$currentDate = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
$currentDate = Get-Date -Format "yyyy-MM-ddTHH:mm:ss"
foreach ($property in $ExcelItem.PSObject.Properties) {
$newObject | Add-Member -MemberType NoteProperty -Name $property.Name -Value $property.Value -Force