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

Using WQL query from SCCM in powershell

I have a query in SCCM that will take a printer IP address and return all workstations in SCCM that have the printer installed on it. I am wanting to create a powershell script that will take said query and use the workstations that it returns to…
Ozar
  • 61
  • 3
  • 9
1
vote
2 answers

How do I retrieve a list of primary users of computers

How do I pipe the objects of a CSV file into the DeviceName parameter of Get-CMUserDeviceAffinity? I have a list of computers. I'd like to generate a list of the primary users for each of the computers in this list. I'm using powershell and the…
Devinput
  • 53
  • 1
  • 7
1
vote
2 answers

SCCM Required SQL Server Collation already set

I have two questions. I am installing SCCM 2016 on a Windows Server 2016, but I am stuck at the prerequisite screen. It keeps asking me to change the Required SQL Server Collation to SQL_Latin1_General_CP1_AS. But when I look on the SQL Server it…
Koen Hollander
  • 1,687
  • 6
  • 27
  • 42
1
vote
1 answer

SCCM 2012 R2 Remove-CMDevice

Greeting Everyone, Hoping someone has a quick insight but I am getting access denied on a service account using the PowerShell command Remove-CMDevice. This process is as per outlined here,…
jaradsc
  • 80
  • 11
1
vote
2 answers

SCCM Get Items in a Folder

I'm completly new to SCCM and I am confused by the object model. I have a folder like this: And I want to get a list of the object inside it: APP0001V01 (etc) APP0001V02 (etc) etc The code I have so far is: public void…
Lobsterpants
  • 1,188
  • 2
  • 13
  • 33
1
vote
1 answer

Powershell - Specify credential using invokeMethod()

I'm trying to create a script to add computer objects to SCCM. Long story short, I can't use the cmdlets found in the SCCM module as I need to invoke the command so that different credentials can be used. I can't for the life of me figure out where…
k-weaver
  • 38
  • 3
1
vote
1 answer

SCCM 2012 Perquisite Check "SQL Server service running Account Error"

Getting """SQL Server service running Account Error" Description as provided "The logon account for the SQL Server service cannot be a local user account, NT SERVICE\ or LOCAL SERVICE. You must configure the SQL Server service to use a valid…
1
vote
1 answer

PowerShell Convert output to hashtable array (data type conversion)

This a data type conversion issue. I am trying to get the names of computers out of SCCM and feed it into SCCM Report. The report commandlet receives hashtable where the variable must be named "Computer Name". The value is the computer name. ex.…
Aaron
  • 563
  • 3
  • 13
1
vote
2 answers

Not able to find SMS_DP_smspkg$ in Distribution point

When I checked the CAS Log, it mentioned package: Download location found 0 - http://XXYY.CORP.ZZ.ORG/SMS_DP_SMSPKG$/CSS013F5 I logged to the DP XXYY.CORP.ZZ.ORG and searched for folder SMS_DP_SMSPKG$, but I'm not able see it.
1
vote
2 answers

BCD Edit Export fails when user not logged on and run via SCCM as System account in Powershell

I am having an issue where running a powershell script as the system account via SCCM when trying to deploy a VHD to a system. The script tries to perform a bcdedit /export - however when I run it as myself or use psexec /i /s cmd and then run the…
Random206
  • 757
  • 6
  • 19
1
vote
1 answer

SCCM - SQL Server Invalid Column Name

I upgraded my SCCM 1511, then I attached the data from old database to new database. My SCCM couldn't connect to site database. I viewed the smsprov.log and saw these error messages. Can anyone help please? Execute SQL =select all…
Han T.
  • 11
  • 2
1
vote
3 answers

sccm 2012 r2 msi packages failing with error 0x643(1603)

I have a question with sccm 2012 r2 and failed packages. For every package I try to deploy there is the odd one that always returns a generic error message 0x643(1603). I know that this is a generic msi package message, but something has me…
squirrel
  • 21
  • 1
  • 2
  • 9
1
vote
1 answer

Windows 10 Startmenu Layout Baseline, tile missing

I have created a baseline for my windows 10 deployments which sets the StartMenu to a default layout. (I had to make it a baseline due to some internal politics so don't ask :-) .) This baseline creates a XML file with the data captured from a…
Nat Thulke
  • 95
  • 2
  • 11
1
vote
2 answers

PowerShell script doesn't work correctly from Windows Task Scheduler

Overview: I have a script I am using to query new application requests within SCCM via WMI. The script works perfectly when launched manually within a PowerShell console (either elevated or not, doesn't matter). I need to run the script through Task…
Jake Nelson
  • 1,748
  • 13
  • 22
1
vote
1 answer

SCCM Compliance state always 'Compliant' when remediation script runs

We're trying to use SCCM 2012 R2 to run some checks on clients and fix problems when needed. For this we use the PowerShell 'Script' option. Problem description: When a 'Discovery script' reports ‘Non-Compliant’ the ‘Remediation script’ is launched.…
DarkLite1
  • 13,637
  • 40
  • 117
  • 214