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

Add Computer in SCCM and import it to a specific Collection

i would like to import a computer to a specific SCCM-collection. I've found this method on the msdn: public int AddNewComputer( WqlConnectionManager connection, string netBiosName, string smBiosGuid, string macAddress) { …
iByteU
  • 55
  • 6
1
vote
1 answer

Invoke-WmiMethod -ArgumentList not accepting variables?

So I am very new to Powershell and I am almost certain that what I am doing is not the most efficient way of going about it. But I really want to understand why what I am doing is not working. I am trying to trigger Configuration Manager client…
Ben
  • 155
  • 1
  • 4
  • 12
1
vote
3 answers

SQL Query with Dynamic Columns Using Pivot

I know this topic is everywhere but I couldn't get it to work properly. It's probably something very simple. Here is a sample of the data after a basic query: ----------------------------------- |Site| Model | Count…
Johnny Hieu Le
  • 163
  • 1
  • 3
  • 12
1
vote
3 answers

Incorrect Syntax near ';' (Microsoft SQL Server Error 102)

First off, I have been searching all over for an answer to this, and I am also new to SQL coding, so please bear with me. I am trying to discover the current health status of client machines in SCCM 2012r2 with a custom report, please see code…
Paddy Cairns
  • 15
  • 1
  • 5
1
vote
2 answers

Powershell or cmd - How to search for a file on client and replace with a different file on network share?

We are looking to replace the defaultlayouts.xml for all profiles when upgrading to Windows 10 Pro v. 1607. This will be accomplished with SCCM site-wide. We have the new layoutmodification.xml configured and ready for deployment however, we are…
1
vote
1 answer

Use ADK or AIK to deploy windows 7?

I'm Configuring my new SCCM 2016 server and I'm confused about the requirements for deploying windows 7. Most of the PCs in the company are using windows 7 but a few windows 10. I want to be able to deploy windows 7 and windows 10 to my systems. I…
Mahdi
  • 45
  • 5
1
vote
1 answer

C# SCCM Application: Application Deployment Type Requirements: [One of] Operating Systems

I am developing a utility/shell-extension application for my organisation that will allow colleagues to create SCCM applications and packages by right-clicking on a source file (.MSI, .MST, .EXE &c.) in Windows Explorer. I am not able to set…
1
vote
0 answers

add a user to a group with C# or powershell and SCCM

I am trying to create a runbook in SCCM that will list a the group in an OU then be able to select it and then add that user to the group. The process in the runbook is this currently. 1. enter user name then hit enter 2. opens up a drop down menu…
Herculeon
  • 19
  • 4
1
vote
1 answer

Get Location of SCCM 2012 Task Sequence using wmi c#

I'm trying to identify the location a task sequence sits using wmi so that I can only get particular task sequences that are stored in a particular sub folder. For example in SCCM configuration manager under "Software Library>Overview>Operating…
BillyDay
  • 37
  • 1
  • 4
  • 14
1
vote
1 answer

SCCM Collection Hardware Report

I found this report and I wanted to be able to change it so that I can use it on specific collections. I know it's like one line of code that needs to be added but I'm not sure how or where to put it. Can anyone help? Thanks DECLARE @Today AS…
Jack9
  • 27
  • 1
  • 3
1
vote
1 answer

Pass parameter into function

I'm trying to pass each value in an array through a function. This is what I have: #Pulls a list of computers from SCCM $sccmComputers = Get-ComputersCollection -CollectionName "All Desktops" #Function to check each item in $sccmComputers against…
Matthew
  • 19
  • 2
  • 5
1
vote
1 answer

WHERE clause when defining last logon time with wildcard in SQL

I did search but could not see anything relating to my question: SELECT vSMS_R_System.Netbios_Name0 AS 'Name', vSMS_R_System.Distinguished_Name0 AS 'LDAP', vSMS_R_System.Operating_System_Name_and0 AS 'OS Version', …
BabyPython
  • 307
  • 1
  • 2
  • 6
1
vote
1 answer

SCCM Chart and Pie Chart

I've recently started using SCCM in our Company and I'm now on to building reports through Report Builder. Currently I'm trying to do 2 things, I am trying to build a pie chart that shows the number of files that exists on a drive and a category…
Jack9
  • 27
  • 1
  • 3
1
vote
1 answer

Find the SCCM Distribution point where the software packages reside

We're trying to find the hostname of the SCCM server that contains the packages/software that can be installed on a client by querying WMI with Get-WMIObject. In other words the server (SCCMPackageServer) that hosts the share with packages when you…
DarkLite1
  • 13,637
  • 40
  • 117
  • 214
1
vote
2 answers

Powershell cd sitecode not working

I am trying to run CD to SCCM site folder after Import-Module ConfigurationManager.psd1 on a remote computer as a Non-Admin user. However I am gettting the following error: PS C:\windows\system32> Enter-PSSession -ComputerName somecomputer…
Prabhat
  • 113
  • 2
  • 11