im currently working on a script which will be used in my company by the RIS when installing computers.
I want the vbs script when excuted, to check the computer name for a specific string, and if it fits the category, it will add it to a specific security group. So for exmaple if i have 1000 computers, i only want like the 50 of them which have the string “test” to run the rest of the script.
I got everything covered by the script on the security group adding, the only thing i stuck on is how to make the script dynmic and work according to computer names.
would appriciate any help, and if needed, i can post the script i got now.