Raj, this wouldn't be hard to do.
I am assuming your vbscript (foo.vbs) is a part in the blpackage. Make sure you not where you put it on the target server, I suggest "C:\tmp" or something like that. Then you would add an external command like this:
That would do it.
Yes, correct it is working now... Thanks for your prompt help.
If i want to run againt 100 target , then how to get copy of foo.vbs to those 100 at c:\temp??
Does blpkg accept nsh script? Or have to run something like vbscript?
I guess you manually placed the vbscript in the C:\tmp directory. That is not what I meant.
1) Add the vbscript to the Depot as a file.
2) Add that file to your blpackage.
3) Change the directory of that file in the blpackage to c:\tmp (that is where the blpackage will place the file)
4) Add the external command as I said in the earlier post.
Just run the same jab against those 100 targets. It will execute the same action against all of them.
yes it is done .. You are bhagwan...
I am getting an issue with the vbscript this time to Add global Admin user to Local Administrators group.
When i run the script manually i can exeucte and add /remove domain group to local admin group successfully but when i try to execute via BL it gets failed??
Message was edited by: Raj
add group.vbs 748 bytes
is the file name of the script in the blpackage 'c:\temp\admin_group_add.vbs' ?
I found out the issue , it was with my vbscript i removed domain server info while adding the group and it worked via BL as well.
Thanks for all replies.