I'e never seen it done that way. Try breaking it up into two separate lines.
untested
Code:
$Query = GetObject("winmgmts://rlg012kd")
$Dsks = $Query.ExecQuery("select * from Win32_DiskDrive")

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.