SCCM 1702 - Scripts

karthik palani 1,036 Reputation points
2020-11-13T13:54:06.553+00:00

Hi All,

I am using SCCM CB 1702 and i need some help in getting the PowerShell script for the below requirements

  • Create a collection based on the OS - Like Windows 7 or Windows 10
  • Create a collection based on the list of machines in txt file
  • Create a auditing report based on deleted, modified, created etc...

Please share if there is powershell scripts for above

Microsoft Configuration Manager
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Eswar Koneti 2,201 Reputation points
    2020-11-15T13:17:42.843+00:00

    Hi,
    You can make use of the following to get what you need.

    Create a collection based on the OS - Like Windows 7 or Windows 10--> https://gallery.technet.microsoft.com/Set-of-Operational-SCCM-19fa8178

    Create a collection based on the list of machines in txt file-->https://miketerrill.net/2013/11/03/how-to-add-computers-listed-in-a-text-file-to-a-collection/

    Create a auditing report based on deleted, modified, created etc...-->https://eskonr.com/2014/08/sccm-configmgr-2012-way-to-find-who-created-modified-deleted-the-collection-using-ssrs-reports/

    Regards,
    Eswar
    www.eskonr.com
    If the response is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.
    0 comments No comments

  2. Garth Jones 2,076 Reputation points
    2020-11-13T15:59:00.93+00:00

    These are very broad topics (audit reports), and some of them are easy to do with a quick bing search.

    For audit report have to looked at what is built-in?
    For the others have you bing what you need?

    0 comments No comments

  3. Jason Sandys 31,286 Reputation points Microsoft Employee
    2020-11-13T19:45:00.49+00:00

    Also, Configuration Manager 1702 hasn't been supported in almost 3 years. You need to upgrade to a supported version ASAP.

    0 comments No comments

  4. Simon Ren-MSFT 33,226 Reputation points Microsoft Vendor
    2020-11-16T03:15:22.8+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    Eswar Koneti has provided great information, here are some more articles for your reference:

    POWERSHELL SCRIPT CREATE OPERATIONAL SCCM COLLECTIONS
    Add Multiple Devices to SCCM collection using PowerShell
    Track Who Deleted Modified Changed SCCM Settings

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.