<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>AndersonPatricio.ca : Quick hint, System Center</title><link>http://msmvps.com/blogs/andersonpatricio/archive/tags/Quick+hint/System+Center/default.aspx</link><description>Tags: Quick hint, System Center</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Quick Hint: SCOM – Managing Agent Proxy using PowerShell</title><link>http://msmvps.com/blogs/andersonpatricio/archive/2012/11/13/quick-hint-scom-managing-agent-proxy-using-powershell.aspx</link><pubDate>Tue, 13 Nov 2012 19:49:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1819165</guid><dc:creator>Anderson Patricio</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/andersonpatricio/rsscomments.aspx?PostID=1819165</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/andersonpatricio/commentapi.aspx?PostID=1819165</wfw:comment><comments>http://msmvps.com/blogs/andersonpatricio/archive/2012/11/13/quick-hint-scom-managing-agent-proxy-using-powershell.aspx#comments</comments><description>&lt;table cellspacing="0" cellpadding="2" border="0"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="10%"&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/andersonpatricio.metablogapi/8880.sans_2D00_titre_5F00_thumb2_5F00_thumb_5F00_6B2682BC.png"&gt;&lt;img title="sans-titre_thumb2_thumb" style="border-left-width:0px;border-right-width:0px;background-image:none;border-bottom-width:0px;padding-top:0px;padding-left:0px;display:inline;padding-right:0px;border-top-width:0px;" border="0" alt="sans-titre_thumb2_thumb" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/andersonpatricio.metablogapi/2318.sans_2D00_titre_5F00_thumb2_5F00_thumb_5F00_thumb_5F00_2E41DB1D.png" width="104" height="105" /&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="90%"&gt;&lt;em&gt;How can manage agent proxy in a SCOM agent using PowerShell?&amp;#160; &lt;br /&gt;&lt;/em&gt;          &lt;br /&gt;PowerShell makes everything easier, right? &lt;img class="wlEmoticon wlEmoticon-smile" style="border-top-style:none;border-left-style:none;border-bottom-style:none;border-right-style:none;" alt="Smile" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/andersonpatricio.metablogapi/0815.wlEmoticon_2D00_smile_5F00_11D44D63.png" /&gt; To list all agents using names with wildcards we can use the following cmdlet where in this post all my locations share the site code on their names:           &lt;br /&gt;          &lt;br /&gt;&lt;font face="Courier New"&gt;Get-SCOMAgent *POA*&amp;#160; &lt;br /&gt;            &lt;br /&gt;&lt;font face="Courier New"&gt;             &lt;p&gt;&lt;font face="Verdana"&gt;If the previous cmdlet brought the servers that you were expecting, then we can go ahead and enable the agent proxy for all those servers using the following cmdlet:&lt;/font&gt;&lt;/p&gt;                &lt;br /&gt;              &lt;br /&gt;Get-SCOMAgent *POA* |&amp;#160; Enable-SCOmAgentProxy               &lt;br /&gt;              &lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;           &lt;p&gt;&lt;font face="Verdana"&gt;If you want to disable based on the initial cmdlet, just run the following cmdlet:&lt;/font&gt;&lt;/p&gt;            &lt;p&gt;Get-SCOMAgent *POA* |&amp;#160; Disable-SCOmAgentProxy&lt;/p&gt;         &lt;/font&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Cheers,    &lt;br /&gt;&lt;strong&gt;Anderson Patricio&lt;/strong&gt;     &lt;br /&gt;&lt;a href="http://www.andersonpatricio.ca"&gt;http://www.andersonpatricio.ca&lt;/a&gt;     &lt;br /&gt;&lt;a href="http://www.andersonpatricio.org"&gt;http://www.andersonpatricio.org&lt;/a&gt; (Portuguese)     &lt;br /&gt;Twitter: &lt;a href="http://twitter.com/apatricio"&gt;@apatricio&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1819165" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/andersonpatricio/archive/tags/System+Center/default.aspx">System Center</category><category domain="http://msmvps.com/blogs/andersonpatricio/archive/tags/Quick+hint/default.aspx">Quick hint</category><category domain="http://msmvps.com/blogs/andersonpatricio/archive/tags/System+Center+-+OM/default.aspx">System Center - OM</category></item></channel></rss>