I am trying to use a csv file with the new-item and then the copy.
This works well on its own
$UserName = Read-host "Enter User Name"
New-Item E:\PST\WHD\$username -type directory
$PST = Get-ChildItem \\10.36.11.225\whdusers$\$username -Filter *.pst -Recurse | % {$_.FullName}
$PST | Copy-Item -Destination E:\PST\WHD\$username -verbose.
How I can use a csv file with a list of usernames with this sscript?