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
3 answers

Copy files from my current directory to new directory

so I am trying to copy 2 files from same folder that my Powershell script is in. I have created script there and also 2 files Moveit1.txt, Moveit2.txt my script is this : $ScriptDirectory = get-childitem -path $PSScriptRoot Copy-Item…
Mik Snedker
  • 25
  • 1
  • 5
1
vote
1 answer

How to read the msg box when "Configuration Manager Remote Control" ask for permission

I am trying to read the permission msg box when someone tries to connect using "Configuration Manager Remote Control" to decide if we want to allow a person to connect. Currently i am using AppActivate. But AppActivate only returns boolean. If there…
green onion
  • 121
  • 1
  • 6
1
vote
2 answers

Syntax to let PowerShell read an object name based on current month name

I am trying to let PowerShell filter a number of objects from a cmdlet and pick an object that has a specific name format. The name format is always going to be same like below: current Month Name + Year + Workstations For example the format for…
Mark
  • 13
  • 3
1
vote
0 answers

Win10 1607 LTSB - Change Start Menu Layout for Existing Profile (Appx)

We have a bunch of business critical Win 10 tablets (imagine being used by Ambulance drivers when they are out on a call). As part of upgrading the main app used on these devices, I need to run a PowerShell script to install a disgusting and foul…
1
vote
2 answers

Query SCCM from Task Sequence - is it possible?

I have a VBscript which works abolultuly fine on my workstation. It queries SCCM to find out what domain a computer is in. When I run it as part of the task sequence, it fails. Note that this is almost the last step in the task sequence, under…
rd1966
  • 185
  • 1
  • 9
1
vote
1 answer

Error running Java application as SYSTEM using SCCM

I'm attempting to run a Desktop installer using Microsoft's SCCM. The installer was written using NSIS which predominantly executes Java calls. This works great unless it's run as the SYSTEM profile using SCCM. All Java calls look like this: java…
tresf
  • 7,103
  • 6
  • 40
  • 101
1
vote
1 answer

Need help using C# code to execute SCCM Task Sequence

I'll preface this with I know very little about C# coding. Real good with PowerShell, VBS, etc. But I can at least know enough to be dangerous. We have a C# program that runs locally on the machine. Its purpose is to install the SCCM client and look…
DaGbyte
  • 41
  • 4
1
vote
1 answer

Query in SQL (SCCM Database) that selects only the newest record when there is a duplicate

I need to modify the following query to select only the records with the newest LastLogin if the BIOSSerialNumber is duplicated. I have tried the solutions proposed in similar questions (row_number(), subqueries,...), but I'm not able to make it…
Stokres
  • 685
  • 2
  • 7
  • 12
1
vote
1 answer

How to use wildcard with SQL pivot

In SCCM, I am creating a pivot report that will bring back application versions from a list of applications. This is working well for me using the following code, as long as I know the exact name of the installed application: SELECT netbios_name0 …
MikeFromMN
  • 11
  • 2
1
vote
1 answer

C# AssignedSchedule Task Sequence SDK SCCM

I am using the SCCM SDK and creating a deploy using the C# code below: const Int32 OVERRIED_SERVICE_WINDOWS = 0x00100020; const Int32 ENABLE_PRESENT = 0x01000000; const Int32 REMOTE_FLAG = 0x00041040; …
1
vote
1 answer

SCCM does not update software that was installed manually

Client machines are all Windows 10 Pro (64-Bit). If we were to have MyCompanyApp.msi installed via SCCM, we found that we could update it successfully using SCCM. Everything normal there. HOWEVER, if I were to run MyCompanyApp.msi locally either by…
ezG
  • 391
  • 1
  • 17
1
vote
1 answer

Invoke-command not returning any value when get-itemproperty return null

I'm attempting to use the builtin parallel processing capabilities of Invoke-Command so I can quickly scan hundreds of machines for Office 365 installations (finding discrepancies in SCCM reporting). However, when Get-ItemProperty can't find the…
1
vote
0 answers

SCCM SQL Query group by date

I'm trying to write a sql query to only display the software sorted on the last used date. Currently its showing all dates the software was used on a particular machine. Please could some let me know how i could just show the newest date. Thanks…
1
vote
0 answers

vbs inputbox mandatory text

I'm looking for some help with this script. We want to setup a script to be able to write the right domain in sccm (domain A or domain B). The problem with this script is if we click on OK or dont write the domain it continues and dont have the…
Sergio
  • 19
  • 2
1
vote
0 answers

How to get all app model based applications in SCCM without WMI?

With SCCM transitioning to APP model apps, instead of the original package model (appmodel vs packagemodel), I’m investigating how a legacy application built as a windows service using c# can interact with these app model applications. I would…
yousseis
  • 31
  • 3