19 September, 2010

UnLink GPO script

Hi,

All I wanted is to UnLink a GPO from an OU using a script, not a lot to ask google.
It seems that no one ever need to UnLink a GPO, only delete or link.
So I took the original DeleteGPO.wsf from the GPMC scripts directory and changed it a bit so it would not delete but only unlink the gpo.

Copy the content of the  frame to get the wsf script.



Also published it on my GoogleDocs due to the vbs.

Save it as UnLinkGPO.wsf into "C:\program files\gpmc\scripts" and you have an unlink gpo script.

Enjoy

No comments:

Post a Comment