ConfigMgr File extensions

Manchmal hat man das Problem, dass sich Trigger-Files in einer Inbox sammeln, man aber nicht genau weiss, wozu diese überhaupt dienen.
 
Mit folgendem (quick’n dirty) Skript kann man eine Liste erzeugen:
 
const HKLM = &H80000002
SiteCode = "XYZ"
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
 
strKeyPath = "SOFTWARE\Microsoft\SMS\Triggers\" & SiteCode
objReg.EnumKey HKLM, strKeyPath, arrSubKeys
 
For Each subkey In arrSubKeys
 objReg.GetStringValue HKLM, strKeyPath & "\" & subkey, "File Extension", strExtension
    objReg.GetStringValue HKLM, strKeyPath & "\" & subkey, "Target Service", strService
    objReg.GetStringValue HKLM, strKeyPath & "\" & subkey, "Action", strAction
     
    WScript.Echo strExtension & " | " & strService & " | " & strAction
Next
 
 
Das Ergebnis sieht dann ungefähr so aus:
 
AHC | Client Data Files Source Directory | Update
OTP | SMS_AMT_PROXY_PROV | Insert, Update, NonZeroByteFile
 | SMS Provider | Insert
CTN | Object Replication Manager | Insert, Update
CEP | Collection Evaluator | Insert, Update
CAD | CI Assignment Manager | Delete
CIA | CI Assignment Manager | Insert, Update
CIN | Object Replication Manager | Insert, Update
CMN | Offer Manager | Delete
ADC | Collection Evaluator | Insert
CMN | Offer Manager | Insert
DC | Collection Evaluator | Delete
UDC | Collection Evaluator | Update
DSN | Object Replication Manager | Insert, Update
 | SMS Provider | Insert
DPN | Distribution Manager | Insert
EUN | Object Replication Manager | Insert, Update
 | SMS Provider | Insert
IAC | Policy Provider | Insert, Update, NonZeroByteFile
MEP | Policy Provider | Insert, Update, NonZeroByteFile
RCH | Software Metering Processor (Site) | Insert
MRN | Policy Provider | Insert, NonZeroByteFile
OFN | Offer Manager | Insert
DEL | Offer Manager | Delete
DPN | Policy Provider | Delete, NonZeroByteFile
DPN | Policy Provider | Insert, Update, NonZeroByteFile
PKN | Distribution Manager | Insert
CCN | Policy Targeting Evaluator | Insert, Update
SDN | Object Replication Manager | Insert, Update
SCU | Hierarchy Manager | Insert
SCA | Discovery Data Manager (Notification) | Insert, Update
SCD | Discovery Data Manager (Notification) | Delete
SHA | Asset Intelligence KB Manager | Insert, Update
SHA | CI Assignment Manager | Insert, Update
SHD | Software Metering Processor (Site) | Delete
SHA | WSUS Configuration Manager | Insert, Update
SHA | Object Replication Manager | Insert, Update
SHA | Collection Evaluator | Insert, Update
SHA | Discovery Data Manager | Update
SHA | Distribution Manager | Update
SHA | Offer Manager | Update
SHA | Software Metering Processor (Site) | Update
SHA | WSUS Sync Manager | Insert, Update
SSU | Hierarchy Manager | Insert, Update
SSD | Hierarchy Manager | Delete
 |  | Update
RUN | State System | Update
CSB | WSUS Configuration Manager | Delete
CSB | WSUS Configuration Manager | Insert, Update
MEN | Object Replication Manager | Insert
MEN | Object Replication Manager | Update
FLN | Object Replication Manager | Insert
FLN | Object Replication Manager | Update
SCN | Object Replication Manager | Insert, Update
STN | Policy Provider | Insert, Update, NonZeroByteFile

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.