Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- From: "Kim Oppalfens [MVP]" <""Kim dot Oppalfens\"@google mail.com">
- Date: Tue, 06 Nov 2007 23:49:59 +0100
Marc Ramsay wrote:
OK, now I'm confused. Have a look at the instructions and then look at the example. They contradict each other:How do you mean confused?
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?
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
.
- References:
- Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- From: Kim Oppalfens [MVP]
- Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- From: Kim Oppalfens [MVP]
- Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- From: Kim Oppalfens [MVP]
- Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- Prev by Date: Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- Next by Date: Re: SMS 2003 Report question
- Previous by thread: Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- Next by thread: Re: SMS 2K3 Client on ISA 2004 can't talk to SMS server
- Index(es):
Relevant Pages
|