It is much safer to look up the path of the Desktop in the registry.
In case of redirected folders, profile problems etc. this is the safest bet.
 Code:
$Desktop=ReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop")