ThomasKur / M365Documentation

Automatic Microsoft 365 Documentation to simplify the life of admins and consultants.
Other
300 stars 45 forks source link

write-M365Doccsv illegal characters in path #16

Closed ThomasKur closed 2 years ago

ThomasKur commented 2 years ago

Hello Same Problem,

With write-M365Doccsv also the Problem

Out-File: C:\Program Files\WindowsPowerShell\Modules\M365Documentation\3.1.2\Internal\Output\Write-DocumentationCsvSection.ps1:22 Line | 22 | … eInformation -Delimiter ";" | Out-File -FilePath "$CsvPath\$Path.csv" | ~~~~~~~~~~~ | Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch. : 'D:\ITninnja\202111171804-Autopilot Profiles-AHAZ_ Autopilot profile 20210805_15:16:21.csv'

I think its a culture Problem because of swiss german the time has ": " in filenames whats forbidden .

Many thanks the idea is great

Originally posted by @chuwylerAH in https://github.com/ThomasKur/M365Documentation/issues/13#issuecomment-971800832