Forum Discussion

444456464's avatar
444456464
Copper Contributor
Jun 28, 2022
Solved

Browse a CSV file with Powershell

Hello, I would like to read the contents line by line of a CSV fishie using PowerShell but I can't. I tried this code but it doesn't show me the $Identifiant and $Nom values in ISE PowerShell consol...
  • Harm_Veenstra's avatar
    Jun 28, 2022

    Could you try this?

    $Identifiant = "$($Ligne).'Identifiant technique du document'"
    $Nom = "$($Ligne.)"N'om de fichier'"
    Write-Host "Identifiant technique : $(Identifiant) Nom du fichier : $($Nom)"

Resources