Delete all packages from Distrubution Point

Did you get ever a situation to delete all the Packages from one Specific DP ? There are few tools/Scripts are available –          ConfigMgr 2007 Distribution Point Package Utility o   Can be downloaded from –          Vbscript I like this tool as it is very quick o For SCCM 2012 ‘Rslaten 03/2005’ On … Read more

Disable services on list of servers

Below script will be useful for disabling the services ‘create a file called list.Txt Set Fso = CreateObject(“Scripting.FileSystemObject”)Set InputFile = fso.OpenTextFile(“list.Txt”)Do While Not (InputFile.atEndOfStream)sComputer = InputFile.ReadLineaTargetSvcs= Array(“WDSServer”)‘For list of services use below…‘arrTargetSvcs = Array(“service1”, “service2”, “service3”) Set oWMIService = GetObject(“winmgmts:” & “{impersonationlevel=impersonate}!” _ & sComputer & “rootcimv2”)Set cServices = oWMIService.ExecQuery(“SELECT * FROM Win32_Service”) For Each oService In … Read more

VBscript Configure Clients Internet based Management Point Setting

on error resume next ‘ Create variables.Dim newInternetBasedManagementPointFQDNDim client newInternetBasedManagementPointFQDN = “” ‘ Create the client COM object.Set client = CreateObject (“Microsoft.SMS.Client”) ‘ Set the Internet-Based Management Point FQDN by calling the SetCurrentManagementPoint method.client.SetInternetManagementPointFQDN newInternetBasedManagementPointFQDN ‘ Clear variables.Set client = NothingSet internetBasedManagementPointFQDN = Nothing