I use this code on my network and have never had any issues.

$adsComputer = GetObject("WinNT://" + @Domain + "/" + $WSname + "/LanmanServer,FileService")
$adsComputer.Description = "$Name"
$setinfo = $adsComputer.SetInfo