+ Post New Thread
Results 1 to 4 of 4
Enterprise Software Thread, SCCM package to run a script? in Technical; Hey guys, Relatively new to SCCM and have a fairly simple question... I have a VBS script I want to ...
  1. #1

    Join Date
    Aug 2009
    Posts
    249
    Thank Post
    19
    Thanked 15 Times in 14 Posts
    Rep Power
    13

    SCCM package to run a script?

    Hey guys,

    Relatively new to SCCM and have a fairly simple question...

    I have a VBS script I want to run on a number of machines using an SCCM deployment... how would I go about doing this?

    I understand I need to create a Package, and include the VBS script in the 'source' folder... but how do I go about running this? Do I simply use "cscript xyz.vbs" when creating the program for the Package?

    If not, how do I go about this?

    Many thanks

  2. #2

    Join Date
    Jun 2006
    Location
    Wigan
    Posts
    27
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    17
    Hi

    yes if you do the following it should work for you

    Create package same steps as software distribution and add the VB Script to the package and run using the command line : cscript "filename.vbs"

  3. #3
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    919
    Thank Post
    41
    Thanked 69 Times in 66 Posts
    Rep Power
    18
    You can also have it as a application if you are feeling brave. You need a detection rule.

  4. #4
    Sam_Brown's Avatar
    Join Date
    Sep 2009
    Location
    Northampton
    Posts
    533
    Thank Post
    89
    Thanked 30 Times in 28 Posts
    Rep Power
    16
    This is how we deploy a lot of our older software. Create a batch file and stick it in a package with the all required files etc. Works fine 99% of the time.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 21
    Last Post: 27th February 2009, 01:08 PM
  2. Replies: 13
    Last Post: 8th November 2007, 02:53 PM
  3. Need a script to run programs
    By timbo343 in forum Scripts
    Replies: 9
    Last Post: 26th September 2007, 12:24 PM
  4. Replies: 4
    Last Post: 15th December 2006, 12:14 PM
  5. One PC refuses to run script! Help!!!
    By woody in forum Scripts
    Replies: 6
    Last Post: 5th October 2005, 11:37 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •