...or read the remote reg.

$CSD = readvalue("\\RemoteComputer\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion","CSDVersion")
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.