When you decide that the 90’s login script, .bat, .cmd files ;), has to leave for ex. GPO Drive maps, then you can remove it from all AD users with this simple command:
#Remove any login script from all users in the OU.
Import-module ActiveDirectory
Get-ADUser -Filter * -SearchBase "OU=Marketing,DC=martinsblog,DC=local" | Set-ADUser -Clear scriptPath
# Set a login script for all users is the OU
Import-module ActiveDirectory
Get-ADUser -Filter * -SearchBase "OU=Marketing,DC=martinsblog,DC=local" | Set-ADUser –scriptPath “\\dc01\netlogon\myscript.bat”
And it’s gone:

How to update the logon scripp from csv file ?
What do you mean by csv file?