you are missing the commas for the additional optional parameters thet you aren't using.

WMIQuery($sWhat,$sFrom,$sComputer,,,,$sUserID,$sUserPW)
_________________________
How to ask questions the smart way <-----------> Before you ask