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
1
vote
1 answer

Converting Invoke-WmiMethod command to Invoke-CimMethod command

I can't seem to reconfigure the below Invoke-WmiMethod command into a working Invoke-CimMethod command. This code is used to run SCCM client actions. An example of wanting to run the 'ApplicationDeploymentEvaluation' action is below. What…
Keith
  • 689
  • 10
  • 27
1
vote
2 answers

SCCM: see if updates installed succesfully or failed

Is there any way I can see if windows updates installed correctly or failed. Something like windows update history but through SCCM. I had some trouble with paths and its ineffective running to the clients and controll.
Dymond
  • 2,158
  • 7
  • 45
  • 80
1
vote
1 answer

How to run an action/command based on a result of a previous command

I have a deployment that installs a driver and I want to provide the ability to uninstall. Im leveraging the PNPUTIL.exe tool. I know the syntax to delete and uninstall the driver, ex: pnputil.exe /delete-driver oem103.inf /uninstall /force But…
Jay Hijazi
  • 13
  • 2
1
vote
2 answers

Disabling auto updates install switch?

In my current environment VsCode is being deployed to users through SCCM so they have the ability to install the app without admin rights. The current installation supports switches such as /Silent etc, but doesn't seem to have any other switches…
Isaac
  • 784
  • 10
  • 23
1
vote
3 answers

WQL/SCCM - Comparing version numbers correctly (less than...)

I'm having a problem with this part of a SCCM WQL query looking for "less than version 75.0.3770.80": ... where SMS_G_System_ADD_REMOVE_PROGRAMS.Version < "75.0.3770.80" If i'm not mistaken this is the good old problem seen before in other…
Rakha
  • 1,874
  • 3
  • 26
  • 60
1
vote
2 answers

Issue with Set-CMTaskSequenceDeployment

Seems that New-CMTaskSequenceDeployment / Set-CMTaskSequenceDeployment cmdlet option -DeploymentOption does not work as expected. I'm trying to automate a Task Sequence Deployment via Powershell. I use New-CMTaskSequenceDeployment cmdlet to create…
1
vote
1 answer

How do you modify a custom SCCM SMS_TaskSequence_Action property in C#?

I am trying to update SCCM SMS_TaskSequence_Action classes in WMI using C#. I can successfully enumerate SMS_TaskSequence_Step classes completely; but I cannot seem to modify and/or "update" WMI the way I'd expect. I am using a .NET 4.7.2 Console…
Justin Shidell
  • 588
  • 1
  • 5
  • 16
1
vote
0 answers

PowerShell grouping objects from CSV for later use

I was working lately with PowerShell to create a script to help me later on in second part of my task. I've ended up in dead end and I am trying to get the logic for this task. What I am trying to achieve: I got a CSV document with columns that are…
Heim
  • 35
  • 5
1
vote
2 answers

How to find a users of a SMS_FullCollectionMembership Server WMI Class

I need to get all the users being part of a collecionID on a SCCM server Variables $CollectionID = COLLID046 $SiteCode = XYZ $SiteServer = SITEXYZ0 $Users = Get-WmiObject -Class SMS_FullCollectionMembership -Namespace root/SMS/site_$($SiteCode)…
1
vote
2 answers

SCCM WQL Query - List version of a specific installed application?

I'm struggling to create a WQL query for SCCM as I'm really new and rarely use it in a complex manner. My goal is to list 3 things : Computer name - Display Name ("Google Chrome") - Display Version (of that Google Chrome entry) I'm starting with…
Rakha
  • 1,874
  • 3
  • 26
  • 60
1
vote
0 answers

Tigger installation in software center using SCCM 2012 & Powershell

I would need some directions where to look for an solution. I need to trigger install on a few programs in SCCM 2012 software center on Windows 10 clients through Powershell. I guess some of those are User Based Packages(not sure about this at all)…
Turpa
  • 11
  • 2
1
vote
1 answer

Add-CMDeviceCollectionQueryMembershipRule using a variable

I have a power shell command line where i am trying to import a txt file filled with serial numbers (example. "123","456", etc.) into SCCM to create a device collection. I am trying to import within parameters so it only create 1 Query using List of…
Razo559
  • 23
  • 3
1
vote
1 answer

How can I redirect the error stream when calling powershell.exe using -File parameter

I'm executing a powershell script during an OS deployment task sequence using SCCM. Due to idiosyncrasies with this ecosystem I have to call the script with syntax like this (to the best of my experimentation): powershell.exe -executionpolicy bypass…
mmseng
  • 735
  • 9
  • 24
1
vote
2 answers

Need count of model with specific version for chrome

iam using SCCM view/tables for making piechart report. need count of models with specific version of google chrome. using following query select distinct v_R_System_Valid_Alias.Netbios_Name0 AS [Computer Name], …
deepti
  • 729
  • 4
  • 17
  • 38
1
vote
2 answers

Trouble Invoking PSExec from ForEach Loop to run cmd file on remote machines

I'm having issues with error 9009 and error code 6 when trying to run the below. I can successfully run this on 1 machine without the ForEach loop so, i'm wondering what's going on with PSExec here. $Credential = Get-Credential $Random = Get-Random…
Royston
  • 433
  • 2
  • 9
  • 25