<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/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 for Exchange</title><link>http://powershell.com/cs/forums/203.aspx</link><description>Moderated by PowerShell MVP &lt;a href="http://powershell.com/cs/content/experts.aspx#shay-levy"&gt;Shay Levy&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Re: Seeing ALL queues at once, including Edge servers</title><link>http://powershell.com/cs/forums/thread/8212.aspx</link><pubDate>Wed, 10 Nov 2010 20:53:06 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:8212</guid><dc:creator>RussPa</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/8212.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=203&amp;PostID=8212</wfw:commentRss><description>&lt;p&gt;That looks perfect!&lt;/p&gt;
&lt;p&gt;THank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Seeing ALL queues at once, including Edge servers</title><link>http://powershell.com/cs/forums/thread/8211.aspx</link><pubDate>Wed, 10 Nov 2010 20:48:11 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:8211</guid><dc:creator>Bhargav Shukla</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/8211.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=203&amp;PostID=8211</wfw:commentRss><description>&lt;p&gt;$cred=get-credential&lt;/p&gt;
&lt;p&gt;Invoke-Command -Credential $cred -configurationname microsoft.exchange -connectionuri http://edgeservername/powershell -scriptblock {Get-Queue}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Seeing ALL queues at once, including Edge servers</title><link>http://powershell.com/cs/forums/thread/8209.aspx</link><pubDate>Wed, 10 Nov 2010 20:37:35 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:8209</guid><dc:creator>RussPa</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/8209.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=203&amp;PostID=8209</wfw:commentRss><description>&lt;p&gt;THanks, Bhargav - that looks very promising, as soon as I learn how to use Invoke-Command remotely :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Seeing ALL queues at once, including Edge servers</title><link>http://powershell.com/cs/forums/thread/8208.aspx</link><pubDate>Wed, 10 Nov 2010 20:29:37 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:8208</guid><dc:creator>Bhargav Shukla</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/8208.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=203&amp;PostID=8208</wfw:commentRss><description>&lt;p&gt;Try setting credentials in a variable (i.e. $cred - get-crendetials), then use invoke-command to send command to Edge servers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Seeing ALL queues at once, including Edge servers</title><link>http://powershell.com/cs/forums/thread/8205.aspx</link><pubDate>Wed, 10 Nov 2010 20:22:15 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:8205</guid><dc:creator>RussPa</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/8205.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=203&amp;PostID=8205</wfw:commentRss><description>&lt;p&gt;Hi - I use a tiny script to check all the queues on my Hub servers. I like to check this several times a day - it&amp;#39;s a very simple script:&lt;/p&gt;
&lt;p&gt;$HubServer = Get-TransportServer |sort-object -property Name &lt;/p&gt;
&lt;p&gt;foreach ($server in $HubServer) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; get-Queue -server $server -EA inquire -SortOrder -messagecount&lt;br /&gt;&amp;nbsp;write-output &amp;quot;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&amp;quot;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to modify it to also check our Edge servers. Of course, this is complicated because they are in their own workgroup, with only local accounts. How can I get this script to pass credentials?&lt;/p&gt;
&lt;p&gt;Thanks for any input -&lt;/p&gt;
&lt;p&gt;Russ&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>