Thursday, June 3, 2010

Reassign Site Code in SCCM client

Found this yesterday... If you want to trigger an automatic site code discovery in the Config Manager client, you can distribute this vbscript as an assigned program:

Set smsclient=CreateObject("Microsoft.SMS.Client") 
smsclient.ReAssignSite()

Simple? Yes :) But it took me a while to find this, so I wanted to share it!

No comments: