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.