$users=Get-Content c:\Users.txt ForEach ($user in $users) {Disable-ADAccount -Identity $($user.name)}