Page 1 of 1

VBscript to check/uncheck...

Posted: Thu May 08, 2008 5:04 am
by ajgtx
Greetings!
In regards to pushing MSI packages via AD GPO, I'm looking for a script that will check/uncheck the box "uninstall this application when it falls out of scope". Does anyone know if this is possible and if so, what the code may look like?

Thanks!

VBscript to check/uncheck...

Posted: Thu May 08, 2008 5:04 am
by ajgtx
Greetings!
In regards to pushing MSI packages via AD GPO, I'm looking for a script that will check/uncheck the box "uninstall this application when it falls out of scope". Does anyone know if this is possible and if so, what the code may look like?

Thanks!

VBscript to check/uncheck...

Posted: Thu May 08, 2008 5:29 am
by ajgtx
Doesn't have to be VBscript, just anything to get the job done. Preferrably not with a 3rd party app though, if it can be avoided.

VBscript to check/uncheck...

Posted: Thu May 08, 2008 7:33 am
by donj
You install it on whatever machine is running the script. It's not an "agent" or anything. And it's a set of add-in commands for PowerShell, not standalone software. As for rights, you need to be able to edit a GPO - generally, that means the user utilizing the software needs to be a domain admin. If you permission your GPOs differently, then you may need different rights.

Think of it as running a command-line utility. Whoever runs the utility needs permission to do whatever the utility is doing.

VBscript to check/uncheck...

Posted: Thu May 08, 2008 11:19 pm
by ajgtx
From reading about the freeware version of the app, it doesn't appear that there are any GPO edit commands that come with that version of the software. How difficult/feasible would it be to create my own scripts/commands using PowerShell to edit Group Policies?