This script demonstrates how to set the management point for an SMS Advanced Client.

The following parameters are provided to the SMSClient.SetCurrentManagementPoint method:

Alternatively, you can supply the computer name. In that case, the first parameter is the computer name and the second parameter is 1, which indicates that the first parameter is the computer name.


On Error Resume Next

dim oSMSClient

set oSMSClient = CreateObject ("Microsoft.SMS.Client")

if Err.Number <>0 then 
	Wscript.echo "Could not create SMS Client Object - quitting"
end if

oSMSClient.SetCurrentManagementPoint "",1 'set management point to given ip address

Compiling the Code

  • Requires an SMS 2003 Advanced Client.

See Also