SCCM Collection Query

1. All Desktops The following query allows to include all desktops in a collection using the detection of the ChassisTypes (being a part of Win32_SystemEnclosure) select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup, SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in ( “3”, “4”, “5”, “6”, “7”, “15”,”16″) ChassisTypes 3 : Desktop (including virtual machines) … Read more SCCM Collection Query

SCCM Task Sequence Remaining in “Installing” Status

Problem The Task Sequence deployment downloads, installs, and reports back success but when you open up Software Center on the client it still shows “Installing”. It seems that the problem comes from the dependency of CCMexec on SMSTSMgr. Basically the CCMExec service has to start before the SMSTSMgr service can, and it’s visibly not the … Read more SCCM Task Sequence Remaining in “Installing” Status

SCCM Deployments with PowerShell

The following script allows to create a deployments on SCCM Deployment of an application (asap) Deployment of a package (asap after an available date/time) Deployment of a task sequence (scheduled using WMI) The deployments of the application and the package are enforced as soon as possible but it’s also possible to schedule them by setting … Read more SCCM Deployments with PowerShell

SCCM 2012 R2 – Package Implementation and Deployment

1. Global Process Here is the global process to implement and distribute a package to user’s workstations. In prerequisite, the package must have been created and copied in the SCCM repository. There are 2 ways to implement a package in SCCM: the “Package” model (the easiest and fastest way), and the “Application” model (more powerful, … Read more SCCM 2012 R2 – Package Implementation and Deployment