FWIW some actually build their labs using the GPMC CreateEnvironmentFromXML script
-----Original Message----- From: Michael B. Smith [mailto:[email protected]] Sent: Friday, September 23, 2011 10:53 AM To: NT System Admin Issues Subject: RE: Programatically create a GPO You can script the export and import using the COM object installed with GPMC. Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com -----Original Message----- From: Joseph L. Casale [mailto:[email protected]] Sent: Friday, September 23, 2011 1:50 PM To: NT System Admin Issues Subject: RE: Programatically create a GPO Thought of that, but I have ps script that actually builds the lab, so I just hoped I could script that as well. thanks, jlc ________________________________________ From: Michael B. Smith [[email protected]] Sent: Friday, September 23, 2011 11:47 AM To: NT System Admin Issues Subject: RE: Programatically create a GPO Can't you just export it and then import it? Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com -----Original Message----- From: Joseph L. Casale [mailto:[email protected]] Sent: Friday, September 23, 2011 1:40 PM To: NT System Admin Issues Subject: Programatically create a GPO I have a lab environment where I must routinely create a lengthy GPO in. Looking online, I don't see any clean way to do this, anyone got any tricks? Looks like SDM had one, but its not on their site anymore? Thanks! jlc ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
