Montag, 21. Oktober 2013

SCCM Reporting Roled-based Administration

Roled-based Administration für SCCM Reports wird mit folgendem Regkey ausgeschaltet:

·         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP
EnableRbacReporting

Mittwoch, 9. Oktober 2013

SCCM Custom Hardware Inventory (Regkey)

SCCM Custom Hardware Inventory (Regkey)

Datei „E:\Microsoft Configuration Manager\inboxes\clifiles.src\hinv\configuration.mof“ öffnen

Extension hinzufügen:

//========================
// Added extensions start
//========================

// Registry property provider

#pragma deleteclass("Maintenance_Task", NOFAIL)
[DYNPROPS]
Class Maintenance_Task
{
[key] string KeyName;
String MTStamp;
};
[DYNPROPS]
Instance of Maintenance_Task
{
KeyName="Maintenance Task";
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\INFRA\\Maintenance Task|MTStamp"),Dynamic,Provider("RegPropProv")] MTStamp;
};

//========================
// Added extensions end
//========================
 
Datei speichern

Check Configuration Command in CMD:

mofcomp.exe –check „E:\Microsoft Configuration Manager\inboxes\clifiles.src\hinv\configuration.mof

Set Configuration Command in CMD:
mofcomp.exe „E:\Microsoft Configuration Manager\inboxes\clifiles.src\hinv\configuration.mof

Class in Hardware Inventory aktivieren (Regkey muss vorhanden sein, sonst Remote Connect):

Logfiles:
E:\Microsoft Configuration Manager\Logs\PolicyPv.log  ==> Class überwachen auf Server
C:\Windows\CCM\Logs\InventoryAgent.log ==> Inventory überwachen auf Client

Montag, 7. Oktober 2013

SCCM Powershell cmdlets

Mit der Version 2012 kann SCCM auch über Powershell gesteuert werden. Unter folgendem Link sind die verfügbaren commands ersichtlich:

http://technet.microsoft.com/en-us/library/jj821831(v=sc.10).aspx

Beispiel Create Collection:
New-CMDeviceCollection -LimitingCollectionName "All Systems" -Name "New Collection"