<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PowerShell Script with GP cmdlets: Registry setting, Link</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx</link><description>The following is a sample script that sets a Preference registry value in a GPO, then compares that same value to all of the GPO's linked in the same domain. If the value is not already set in a linked GPO, the new GPO is linked to that domain as well.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Topics about Domains  &amp;raquo; Archive   &amp;raquo; Group Policy Team Blog : PowerShell Script with GP cmdlets &amp;#8230;</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx#3233724</link><pubDate>Thu, 30 Apr 2009 23:29:02 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3233724</guid><dc:creator>Topics about Domains  &amp;raquo; Archive   &amp;raquo; Group Policy Team Blog : PowerShell Script with GP cmdlets &amp;#8230;</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://domains.linkedz.info/2009/04/28/group-policy-team-blog-powershell-script-with-gp-cmdlets/"&gt;http://domains.linkedz.info/2009/04/28/group-policy-team-blog-powershell-script-with-gp-cmdlets/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: PowerShell Script with GP cmdlets: Registry setting, Link</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx#3233882</link><pubDate>Fri, 01 May 2009 09:42:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3233882</guid><dc:creator>Matt McLane</dc:creator><description>&lt;P&gt;Lilia, &lt;/P&gt;
&lt;P&gt;Thanks for presenting today at MMS. &amp;nbsp;I just wanted to let you know that I came and checked out the blog like you wanted.&lt;/P&gt;</description></item><item><title>re: PowerShell Script with GP cmdlets: Registry setting, Link</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx#3235657</link><pubDate>Tue, 05 May 2009 16:16:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3235657</guid><dc:creator>Daniel Hogue</dc:creator><description>&lt;p&gt;Hi Lilia,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I was also at MMS and I must say... You're pulling me back into PowerShell to manage our GPs! &amp;nbsp;I'm glad I attended your session and had a chance to chat afterwards.&lt;/p&gt;</description></item><item><title>re: PowerShell Script with GP cmdlets: Registry setting, Link</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx#3236398</link><pubDate>Wed, 06 May 2009 21:34:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3236398</guid><dc:creator>GPTeam</dc:creator><description>&lt;p&gt;Hey Matt - &lt;/p&gt;
&lt;p&gt; Thanks for stopping by! I hope you find something useful here. Have you gotten a chance to use the GP cmdlets or GPPreferences?&lt;/p&gt;
&lt;p&gt; -LiliaG&lt;/p&gt;
</description></item><item><title>re: PowerShell Script with GP cmdlets: Registry setting, Link</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx#3267403</link><pubDate>Thu, 23 Jul 2009 12:33:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3267403</guid><dc:creator>Thibault</dc:creator><description>&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I'm trying to find a way to edit (with a powershell script) the GPPs of a GPO so that it automatically creates shortcuts in users' start menu.&lt;/p&gt;
&lt;p&gt;Basically I would like to know how I can script what can be done manually using the Group Policy Management Editor in the &amp;quot;User Configuration/Preferences/Windows Settings/Shortcuts&amp;quot; section.&lt;/p&gt;
&lt;p&gt;Any insights?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-------&lt;/p&gt;
&lt;p&gt;I'm using the Powershell 2.0 embedded in Windows Server 2008 R2 RC&lt;/p&gt;</description></item><item><title>re: PowerShell Script with GP cmdlets: Registry setting, Link</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx#3268482</link><pubDate>Mon, 27 Jul 2009 23:26:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3268482</guid><dc:creator>pago</dc:creator><description>&lt;p&gt;Great to see that more GP= stuff can be scripted with Powershell. Modifying the content of a GPO was not possible so far...&lt;/p&gt;
&lt;p&gt;But of course, if there is a &amp;quot;Set-GPPrefRegistryValue&amp;quot; function there is the question about others, e.g. &amp;quot;Set-GPPrefDriveMap&amp;quot; or &amp;quot;Set-GPPrefFilesAction&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Will there be support for more (or even all) type of settings ? &lt;/p&gt;
</description></item><item><title>re: PowerShell Script with GP cmdlets: Registry setting, Link</title><link>http://blogs.technet.com/grouppolicy/archive/2009/04/28/powershell-script.aspx#3283222</link><pubDate>Fri, 25 Sep 2009 17:11:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3283222</guid><dc:creator>Froosh</dc:creator><description>&lt;p&gt;I'm curious why the GPO DN (as returned by the .linkedGroupPolicyObjects attribute) is not usable as an -Identity for Get-GPO?&lt;/p&gt;
&lt;p&gt;I guess I could always create an alias to simulate that, but most other AD/GP cmdlets seem to use the DN as a valid -Identity... (or perhaps thats just my assumption - I've ony been using them for a few hours now.)&lt;/p&gt;
&lt;p&gt;And related to that, it seems a shame that GPMC is still easier to use to find all links for a GPO in a forest.&lt;/p&gt;
&lt;p&gt;I have inherited a *large* number of dodgy GPOs named &amp;quot;New Group Policy Object&amp;quot; - it would be lovely to be able to quickly find the ones that are not linked anywhere in my forest. Combined with the version numbers and enabled properties, it would be reasonably easy to backup, and purge the empty/useless GPOs.&lt;/p&gt;</description></item></channel></rss>