Skip to content

ITtelligence

Intelligence everywhere

  • Development
  • Scripts
  • Operations
  • Awesome Utilities

Tag: site

Script for GPO to change SCCM client site ID

Posted on November 8, 2011 by Shaun Vermaak

[sourcecode language=”vb”]
Option Explicit

Dim objSMSClient
Dim varSiteID

varSiteID = Wscript.Arguments.Named("SiteID")

If Trim(varSiteID) <> "" Then
Set objSMSClient = CreateObject("Microsoft.SMS.Client")
objSMSClient.SetAssignedSite(varSiteID)
End If

[/sourcecode]

Posted in ScriptsTagged GPO, ID, SCCM, site
Proudly powered by WordPress | PopularFX Theme