Script to list out Collection schedules of all collection in SCCM to a output file

Option Explicit Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject") Dim objLogFile : Set objLogFile = objFSO.CreateTextFile("Collections.log") Dim strSourceServer strSourceServer = "XXX" Dim strSourceSiteCode strSourceSiteCode = "XXX" Dim objSourceWMIService Dim AllCollections Dim objCollection Dim strCollectionName Dim strCollectionComment Dim schedule Dim schedtype Dim bolScheduleAvailable Dim strRecur Dim strEvery Set objSourceWMIService = GetObject("winmgmts://" & strSourceServer & "\root\sms\site_" &... Continue Reading →

Advertisements

Blog at WordPress.com.

Up ↑