tisdag 14 april 2015

Join a Computer to Collection during OSD

Might happen in your daily work, you need a computer to join a collection in your OSD, And its easy done by this.

1. Ok first, you need this script.

2. Place it in your Sourcefiles in a folder.

3. Then you do a package in sccm









4. Then just Next,Next,Next as always.

5. Pin point your Source












6. Then Distribute your content, and the finnish the steps.

7. Then go to your OSD,





















8. Then add 'Run Command line'

9. Choose a name of the Command line.

10. Then your command line is;
wscript.exe AddMeToCollection.vbs SITE COLLID %_SMSTSClientIdentity%

11. Then use your package that you created earlier.

12. Wooala, Works.

/P


1 kommentar:

  1. Hello Mr. Pontus,
    cam you please actualize the download link for the vbs-script?

    Best regards,
    Jens Lamade

    SvaraRadera