Questions tagged [sccm]

System Center Configuration Manager (also known as SCCM) is a systems management software product by Microsoft for managing large groups of Windows-based computer systems. Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection, and hardware and software inventory.

System Center Configuration Manager (also known as SCCM) is a systems management software product by Microsoft for managing large groups of Windows-based computer systems. Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection, and hardware and software inventory.

Before You Post

As SCCM is a product mainly aimed at systems administrators you might also consider searching questions tagged with SCCM on ServerFault for an answer to your question:

https://serverfault.com/tags/SCCM

You should also consider if your question is suitable for StackOverflow. Since StackOverflow mainly caters to developers, good candidates for questions include:

  • Questions regarding the development of extensions to the SCCM console
  • Questions involving programmatic/scripted access to data within SCCM

More general questions regarding SCCM (e.g. managing applications through the SCCM console) may be answered more easily on ServerFault.

Useful Resources

Information regarding the SCCM object model can be found on MSDN:

SCCM 2012: https://msdn.microsoft.com/en-us/library/hh948960
SCCM 2007: https://msdn.microsoft.com/en-us/library/cc145334.aspx

SDKs may also be downloaded from Microsoft:

SCCM 2012: https://www.microsoft.com/en-us/download/details.aspx?id=29559
SCCM 2007: https://www.microsoft.com/en-us/download/details.aspx?id=22552

712 questions
0
votes
0 answers

Sccm Collection Creation An unhandled exception of type 'System.NullReferenceException'

I'm getting "An unhandled exception of type 'System.NullReferenceException' occurred" at this line IResultObject newCollection = connection.CreateInstance("SMS_Collection"); in c# form application but it works for a console application. Any…
0
votes
1 answer

using commandline to verify that a Deployment Type has a Global Condition

Currently scripting for SCCM to automate creation of collections populating collections etc.. I'd like to add a "verification" step. I want to ensure (through commandline since I want to automate it) that a Deployment Type has at least one Global…
projetnumero9
  • 61
  • 2
  • 13
0
votes
1 answer

SCCM 2007 - How to save modification on SMS_CollectionRuleQuery QueryExpression

I need to implement application to add devicename to Query Expression on rule SMS_CollectionRuleQuery and save it by using SCCM 2007 SDK. I expect that Put() method must be use to save query expression but it appear that modification is not save !…
Philippe sillon
  • 1,572
  • 2
  • 14
  • 20
0
votes
3 answers

Orchestrator won't run PowerShell Cloud Exchange task

I'm having a problem getting a PowerShell script which queries objects in a cloud-based Exchange resource to work in an Orchestrator runbook. The PowerShell script (which works correctly from my desktop computer's command line and when stepping…
0
votes
1 answer

CreateObject("Microsoft.SMS.TSEnvironment") not working for Windows 7?

I have a Task Sequence that we are using to install different operating systems and software. The task sequence opens an HTA which gives our techs a list of options to choose from, then creates Task Sequence variables based on these choices which…
langstrom
  • 1,652
  • 11
  • 14
0
votes
1 answer

SCCM 2007 Report to check servers time zone

I need to create a SCCM 2007 report to check the time zone over a specific collection. I found something to do this, but is not working when i insert it in the Report SQL Statement. select SMS_R_System.Name, SMS_R_System.SMSAssignedSites,…
Crit Scratch
  • 43
  • 1
  • 10
0
votes
1 answer

SCCM 2007 move computers between collections

I have no code to provide for this because I am not familiar with SCCM 2007. I am hoping that someone maybe can help me with the whole process. What I am trying to achieve is to get computers which are installed with windows 7 32-bit, they have…
user2782999
  • 385
  • 1
  • 7
  • 23
0
votes
1 answer

Powershell ForEach If "True" do a Delete

The following code seems to work but takes a bit to run on just one machine, also I cannot test it completely as some if the objects aren't there. I would appreciate any advice on if I am going about the process correctly or if there is a…
1BilliumDollars
  • 149
  • 1
  • 3
  • 12
0
votes
3 answers

Does the Auto Apply Drivers task sequence step require the drivers to be in a driver package?

I have recently started using the Auto Apply Drivers step instead of Apply Driver Package to deploy drivers for my machines and I was wondering, do I still need to create and publish driver pacages or is it enough to import the drivers into SCCM for…
Ashigore
  • 4,618
  • 1
  • 19
  • 39
0
votes
1 answer

Powershell CM2012 import Application with XML

I have created a powershell script to import applications to CM2012 based on input in a XML file example I found. Does anybody know where I can an example of the XML import file that is complete with all settings/parameters? The file looks like…
user2782999
  • 385
  • 1
  • 7
  • 23
0
votes
1 answer

SCCM 2012 best practice, create an application for an msi and a deployment for an exe?`

New to SCCM 2012 and have a lot of applications with msi's that I am creating applications for. I've also been able to create a few applications with exe's. Is the only reason to use a package, if you need to run multiple programs or apps in…
BamBamBeano
  • 464
  • 4
  • 13
  • 24
0
votes
1 answer

Error: new-PSSession:One or more computer names is not valid

Back story: I am working on a script that will be pointed at a Microsoft SCCM collection. This script is meant to query for all members in the collection and do something. So far I can restart specific services on all collection members, such as…
Chadddada
  • 103
  • 7
0
votes
2 answers

I need a script to detect if a computer is in an active directory user group

I found online a VBscript that joins a computer to a group in the Users OU for Direct Access to work. It works perfectly in the task sequence for our OSD using SCCM 2012 but we've come to a road block where we only want laptops to be added rather…
user2600407
  • 75
  • 2
  • 4
0
votes
1 answer

How to programmatically query if an SCCM 2012 Application is Active or Retired

We have an application that integrates with SCCM 2012 and saves custom SCCM applications to SCCM. The problem I am having is that attempting to save one of our custom applications when the SCCM administrator has set the application to be in the…
Ben Cawley
  • 1,606
  • 17
  • 29
0
votes
3 answers

SCCM: detect if user is present by checking keypress mousemove, is it possible?

I don't know much about SCCM but I wonder if it is possible to guess if a user is in front of his computer by monitoring the datetime of last keypress or mouse move. This doesn't need to be very accurate (say 5 minutes precision). Could SCCM do this…
frenchone
  • 1,547
  • 4
  • 19
  • 34