myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


SMS SiteCode Query

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> SMS SiteCode Query Page: [1]
Login
Message << Older Topic   Newer Topic >>
SMS SiteCode Query - 6/9/2008 9:39:18 AM   
jbo0225

 

Posts: 1
Score: 0
Joined: 6/9/2008
Status: offline
Hi,
We have a rather complicated SMS infrastructure, and we're running into problems when installed the advanced client.   When we set the sitecode to auto in the installer, this causes us issues where clients are being installed out of bounds.  This happens because we have different primary servers managing clients at different physical sites in the same AD OU.

We prestage our computer objects into SMS, so I was curious if anyone had experience with any VBScript(WSH) that could query the SMS database to determine the SMSSiteCode for a given computer object.

Thanks,
Josh
Post #: 1
RE: SMS SiteCode Query - 6/9/2008 12:04:59 PM   
jlaguardia762


Posts: 317
Score: 6
Joined: 9/5/2001
Status: offline
We broke our primaries up by Domain, so we assign our sitecodes based on domain names.  Our startup scripts state:  If you are in Domain A set sitecode to 001 and if you are Domain B set SiteCode to 002.... and so on.


(in reply to jbo0225)
Post #: 2
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> SMS SiteCode Query Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.285