I have a basic powershell script that runs great in its local directories. I am very new to powershell so this may be a basic question. The csv file really will sit in the following directory \ADdata.acdsd.internal\F\Exports\Google\Student Accounts. How do I reference this directory in my code below. Do I need to replace the $list command with some other command.
$list = Import-Csv studentaccounts.csv
foreach ($entry in $list)
{
C:\gam-rcsdkids\gam.exe create user $($entry.newuser) firstname $($entry.firstname) lastname $($entry.lastname) password $($entry.password)
}
$list = Import-Csv "\\ADdata.acdsd.internal\F\Exports\Google\Student Accounts\studentaccounts.csv"assuming people have the proper permissions to this share / directory