Originally Posted By: apronk
Quick look I saw:
$strServerLocatorpoint = "servername"

I'm taking a wild stab at this and say that "servername" isn't the actual name of your server :P

Also:
 Code:
$objWMIService = $GetObject("winmgmts:\\" + strComputer + \root\cimv2")

should be
 Code:
$objWMIService = $GetObject("winmgmts:\\" + $strComputer + "\root\cimv2")


Did you try my translation ?

hehe yes dont worry servername is being changed to the correct server when I test it along with the site code part \:\)

have changed code you mentioned but still same error.

yup did try your code, but got no errors and SMS did not go on. \:\(