fix: Fixed overwrite of manual audit rows
This commit is contained in:
@@ -10,7 +10,7 @@ function New-MergedObject {
|
|||||||
)
|
)
|
||||||
|
|
||||||
$newObject = New-Object PSObject
|
$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) {
|
foreach ($property in $ExcelItem.PSObject.Properties) {
|
||||||
$newObject | Add-Member -MemberType NoteProperty -Name $property.Name -Value $property.Value -Force
|
$newObject | Add-Member -MemberType NoteProperty -Name $property.Name -Value $property.Value -Force
|
||||||
|
|||||||
Reference in New Issue
Block a user