VB or HTA Get computers collection - add new computer in same collections
Hi all, hope someone here can help me? or have solved this on another way?
Why Script Need:Install a new pc (replace hardware) for a user with the same apps.
Current Situation:
Right now Vista with SCCM/CM direct membersip in collection with advertisment.
Problem/Solution:
We will preinstall a PC (new hardware) to users (then can replace when they want)
I´m looking for a script where I can type a "old/present computername" and a "new computername" then the script will read which collection my old comupter is a member of, and add the new to the samt collections?
Yes we use Direct membership and we have no plans of changing this now :-)
Thanks
Why Script Need:Install a new pc (replace hardware) for a user with the same apps.
Current Situation:
Right now Vista with SCCM/CM direct membersip in collection with advertisment.
Problem/Solution:
We will preinstall a PC (new hardware) to users (then can replace when they want)
I´m looking for a script where I can type a "old/present computername" and a "new computername" then the script will read which collection my old comupter is a member of, and add the new to the samt collections?
Yes we use Direct membership and we have no plans of changing this now :-)
Thanks
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Posted by:
fetgor
13 years ago
Posted by:
anonymous_9363
13 years ago
OK, so your choices are:
- learn VBS
- employ someone to create the script for you.
Since it sounds like this is a "nice to have" tool rather than a "we can't operate without it" tool, the former option sounds favourite.
And no, regrettably, I am unable to share that script, having been burned in the past.
- learn VBS
- employ someone to create the script for you.
Since it sounds like this is a "nice to have" tool rather than a "we can't operate without it" tool, the former option sounds favourite.
cannot find a script that fits into what I need.One of the quickest routes to learning stuff like this is to take what someone has already done and mould it to suit your purposes. From knowing nothing about SCCM, I used the MSDN sample code to create a script which added a package to SCCM, ready for deployment. It creates the AD group (we use AD to control collection "membership"), the package, the program, it assigns the package to Distribution Point, creates the Collection, Advertisement and finally sets the Maintenance Window.
And no, regrettably, I am unable to share that script, having been burned in the past.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.