changed: logging

changed: sort and deduplicate output
changed: "GruppenVerwaltungNEU..." output
This commit is contained in:
Edmond Gebara 2026-07-06 06:50:50 +02:00
parent b84b5a73a1
commit a5e28a7f52
12 changed files with 785 additions and 1280 deletions

5
Process-ADObjects-Test.ps1 Executable file → Normal file
View file

@ -1,5 +1,3 @@
#Add-Type -Path "Syncfusion.XlsIO.Portable.dll"
#Add-Type -Path "Syncfusion.Compression.Portable.dll"
function TestExcel {
$inputFilePath = "/Users/edmond/Develop/PowerShell/BIT-BV/Data/Z999/In/bitBVTest.xlsx"
@ -16,10 +14,11 @@ function TestExcel {
$colCount = $workSheet.UsedRange.LastColumn
for ($i = 2; $i -le $rowCount; $i++) {
outLogVerbose 'for ($i = 2; $i -le $rowCount; $i++) iteration:' $i
for ($j = 1; $j -le $colCount; $j++) {
outLogVerbose 'for ($j = 1; $j -le $colCount; $j++) iteration:' $j
$value = $workSheet.Range[$i, $j].DisplayText
$newValue = $value -replace "`n", " --- " -replace "`r", " --- " -replace ";", "--" -replace "`"", "'"
# $newValue = convertUTF8ToASCII $newValue
$workSheet.Range[$i, $j].Text = $newValue
}
}