Not getting correct string when pulling variable from csv file RRS feed

  • Question

  • when pulling variable from csv input I think the script fails because I'm seeing @folder={ in front of the variable so the string is not correct in the query. I'm trying to pull public folder names from csv then display Get-PublicFolderItemStatistics for each folder.

    It works manually with the name. If I do the same and just write-host I can see the @folder={foldername displayed.

    Friday, April 15, 2016 1:21 PM