Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server

Tech-Archive recommends: Speed Up your PC by fixing your registry



Marc Ramsay wrote:
OK, now I'm confused. Have a look at the instructions and then look at the example. They contradict each other:

This script demonstrates how to set the management point for an SMS Advanced Client.
The following parameters are provided to the SMSClient.SetCurrentManagementPoint method:
• A string that is the IP address of the desired management point.
• An integer, 0, indicating that the first parameter is an IP address.
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.

Example
============================================================
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"
Wscript.Quit
end if
oSMSClient.SetCurrentManagementPoint "192.168.0.1",1 'set management point to given ip address
============================================================

The instructions say if you use an IP address then use '0', and if you use a computer name use a '1', but the example clearly shows the opposite.

Which is correct?

How do you mean confused?
The computer is Named 192.168.0.1, no problem whatsoever?
Oh, now I see you figured that was an ip address? Nah just a bit of an odd name :-)

The text is correct the example could have been clearer but isn't necessarily wrong. :-)

--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
.



Relevant Pages

  • Re: Site Code Not Discovered.
    ... There is a Troubleshooting Management Points whitepaper on the SMS website ... installing a management point. ... DHCP Setup - are the clients looking at a specific DHCP Server ...
    (microsoft.public.sms.admin)
  • Re: Verifying AD Publication
    ... Grant the site server machine account direct permissions to the ... Sysetm Management container or add it to a domain ... > SMS3 Active Directory Scema Modification and Publishing ... > SMS server and or the system account created for SMS3 to ...
    (microsoft.public.sms.setup)
  • Re: Client Push keeps failing
    ... Also if the management point is running - try doing a reset of the management ... Try running the mptroubleshooter tool from sms toolkit 2. ... I saw a post where it was suggested to have the client install using the " ... The SMS Server is setup as the MP and has the correct Site ...
    (microsoft.public.sms.admin)
  • Re: Cant push software to advanced client
    ... On the sms site server. ... > the System/System Management contains exist? ... >> the System/System Management contains exist? ... >>> I have installed on a client windows 2000 pro the advanced client. ...
    (microsoft.public.sms.admin)
  • Re: SMS Clients - Workgroup - Not getting policy
    ... Attempting to retrieve default management point from ... machines trying to connect to different SMS primary servers. ... advertised programs and do not have the sms client configured. ...
    (microsoft.public.sms.admin)