Powershell は、データを CSV に変換するときにカスタム ヘッダー名の使用をサポートしていますか? Active Directory からユーザー データを変換していますが、ヘッダーでプロパティ名以外の名前を使用したいと考えています。
私のコード:
$adusers | select givenName,sn,telephoneNumber,SamAccountName,physicalDeliveryOfficeName,Title,mobile | ConvertTo-Csv -Delimiter ';' | Out-File -FilePath $thefilepath