SCCM 2012 Workgroup machines, can they be set to auto approve without all

Home Forums Microsoft Networking and Management Services System Management SCCM 2012 Workgroup machines, can they be set to auto approve without all

This topic contains 2 replies, has 2 voices, and was last updated by  Ossian 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • jason0923
    Participant
    #612929

    We have SCCM setup for domain machines all that works. I’m adding workgroup machines. I know the system can be set to auto approve all joins but it says not recommended to do that however I don’t want to manually approve all workgroup ones. I have them set to automatically join a collection, can I have some sort of task that will auto approve machines in a specific collection?</span>

    • This topic was modified 1 month ago by  jason0923.

    jason0923
    Participant
    #612935

    I found a solution

     

    <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #0000ff;”>function</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”> Approve</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>Client { </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #0000ff;”>param</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>([string]</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$SiteCode</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>, [string]</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$SiteServer</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>, [string]</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$CollectionName</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>) </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$ClientsArray</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>=</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>@</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>() </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$CollectionId</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>=</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”> (Get</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>WmiObject </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>Class SMS_Collection </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">-</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">Namespace root</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">/</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">SMS</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">/</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">site_</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">$</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">(</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;">$SiteCode</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">) </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">-</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">ComputerName </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;">$SiteServer</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;"> </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #0000ff;”>Filter</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>Name=’$CollectionName'</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>).CollectionId </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$ClientsArray</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>=</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”> (Get</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>WmiObject </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>Class SMS_CollectionMember_a </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">-</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">Namespace root</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">/</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">SMS</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">/</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">site_</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">$</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">(</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;">$SiteCode</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">) </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">-</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">ComputerName </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;">$SiteServer</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;"> </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #0000ff;”>Filter</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>CollectionId=’$CollectionId'</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>).ResourceId Invoke</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>WmiMethod </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>Namespace root</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>/</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>SMS</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>/</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>site_</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>$</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>(</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$SiteCode</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>) </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">-</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">Class SMS_Collection </span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">-</span><span style="border: 0px; margin: 0px; padding: 0px; font-family: 'Open Sans', sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;">Name ApproveClients </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>ArgumentList </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>@</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>(</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #0000ff;”>$True</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>,</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$ClientsArray</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>) </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>ComputerName </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800080;”>$SiteServer</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”> } Approve</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>-</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #000000;”>Client </span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>PTP</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>PTSRVR02</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span> <span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>Samsung devices</span><span style=”border: 0px; margin: 0px; padding: 0px; font-family: ‘Open Sans’, sans-serif; font-size: 15px; white-space: pre-wrap; color: #800000;”>”</span>


    Ossian
    Moderator
    #612953

    Jason, can you please try posting without the formatting (maybe paste into Notepad then into here).    I’m looking for the content and cannot find anything!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.