Re: sms site client
- From: "Greg Ramsey" <ramseyg@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 26 Aug 2005 09:37:45 -0400
you can use this to get the assigned site:
'http://myitforum.techtarget.com/articles/8/view.asp?id=6353
Set smsClient = CreateObject("Microsoft.SMS.Client")
WScript.Echo "Client is currently assigned to site " &
smsClient.GetAssignedSite
I belive this registry key will show correct info also:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client\AssignedSiteCode
"James" <jkklim@xxxxxxxxxxx> wrote in message
news:OEv9KkhqFHA.1788@xxxxxxxxxxxxxxxxxxxxxxx
> thks it works.
>
> Which registry shows it is assign a site, so that i can write a script to
> prove that it is discover ?
>
>
> "Greg Ramsey" <ramseyg@xxxxxxxxxxxxxxxxxxx> wrote in message
> news:upsXLuWqFHA.2276@xxxxxxxxxxxxxxxxxxxxxxx
>> For creating your image, are you following Appendix I in the Scenarios
>> and
>> Procedures guide (ccmdelcert.exe, etc)?
>>
>> You can use this script to rediscover the site:
>>
>>
> 'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smssdk03/h
> h/sms/smsref30_SmsClient_ReAssignSite.asp
>>
>> Set smsClient = CreateObject("Microsoft.SMS.Client")
>> 'Use this to force the client to "rediscover" its site.
>> WScript.Echo "Client is now assigned to " & _
>> smsClient.ReAssignSite
>>
>>
>>
>>
>>
>> "James" <jkklim@xxxxxxxxxxx> wrote in message
>> news:%23aa187SqFHA.616@xxxxxxxxxxxxxxxxxxxxxxx
>> > When i m doing ghost image of xp, the sms site client was Discover
>> > successfully. (control panel, sms management applet, advanced tab, sms
>> > site)
>> > and sms client software was installed.
>> >
>> > When i rollout the ghost image of xp to multiple machines, sms console
>> > will
>> > detect this machine is in the AD and then report it as client not
>> > installed.
>> >
>> > i've to manully click Discover for each machine rollout.
>> >
>> > Is there anyway to force "atuo"-discover at logon script ?
>> >
>> >
>>
>>
>
>
.
- References:
- sms site client
- From: James
- Re: sms site client
- From: Greg Ramsey
- Re: sms site client
- From: James
- sms site client
- Prev by Date: Re: SMS Reporting Problem
- Next by Date: The error code is 80004005
- Previous by thread: Re: sms site client
- Next by thread: Wireless Client doesn't fully install
- Index(es):
Relevant Pages
|
Loading