I have created the following script which doesnt seem to work and i cant figure out why.
$machines = get-content "C:\Users\noulis\Desktop\User.csv"
foreach($computername in $machines)
$os = gwmi win32_operatingsystem -computername $computername
$os.description = $user
All i need it to do is read a csv file ( which has two columns ,one for a computer name and one for the username ) and then apply the username to the actual computer desciption field. Any suggestions welcome
Thanks in advance