<?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>Learn How to Use PowerShell to Run Exchange Commands Remotely</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/01/23/learn-how-to-use-powershell-to-run-exchange-server-commands-remotely.aspx</link><description>Learn how to use Windows PowerShell to run Exchange Server 2010 commands remotely by using implicit remoting.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Learn How to Use PowerShell to Run Exchange Commands Remotely</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/01/23/learn-how-to-use-powershell-to-run-exchange-server-commands-remotely.aspx#3526396</link><pubDate>Tue, 16 Oct 2012 21:31:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3526396</guid><dc:creator>Jono</dc:creator><description>&lt;p&gt;I am getting the following error. &amp;nbsp;Can you help me out with this?&lt;/p&gt;
&lt;p&gt;PS H:\&amp;gt; $cred = Get-Credential send\senditadmin&lt;/p&gt;
&lt;p&gt;PS H:\&amp;gt; $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://send-xchange/powershell -Credential $cred&lt;/p&gt;
&lt;p&gt;New-PSSession : A parameter cannot be found that matches parameter name &amp;#39;ConnectionUri http&amp;#39;.&lt;/p&gt;
&lt;p&gt;At line:1 char:84&lt;/p&gt;
&lt;p&gt;+ $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http: &amp;lt;&amp;lt;&amp;lt;&amp;lt; //send-xchange/powershell -Credential $cred&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: InvalidArgument: (:) [New-PSSession], ParameterBindingException&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.NewPSSessionCommand&lt;/p&gt;
&lt;p&gt;The first command worked perfectly. &amp;nbsp;It asked for the credentials, which I gave it. &amp;nbsp;The second command gives me the error.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jono&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3526396" width="1" height="1"&gt;</description></item><item><title>re: Learn How to Use PowerShell to Run Exchange Commands Remotely</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/01/23/learn-how-to-use-powershell-to-run-exchange-server-commands-remotely.aspx#3497851</link><pubDate>Mon, 14 May 2012 15:57:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3497851</guid><dc:creator>Satheshwaran Manoharan</dc:creator><description>&lt;p&gt;Nice one !! Thanks !!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3497851" width="1" height="1"&gt;</description></item><item><title>re: Learn How to Use PowerShell to Run Exchange Commands Remotely</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/01/23/learn-how-to-use-powershell-to-run-exchange-server-commands-remotely.aspx#3476779</link><pubDate>Mon, 23 Jan 2012 15:57:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3476779</guid><dc:creator>IamMred</dc:creator><description>&lt;p&gt;@JeremyEnbleWork I am glad the article was perfectly timed to meet your needs. While I would love to take credit for that aspect, alas I must mark it up to luck. However, I have seen many requests for this type of information, and therefore I wrote the article. You are absolutely correct. The remote connection credentials only apply to the proxy functions that appear after having made the remote connection to the Exchange Server. All other cmdlets, such as Get-Process or Get-Service will behave exactly as before -- they will refer to the local computer, and not to the remote Exchange server, and they will still operate within the original security context. This is one difference between implicit remoting (discussed here) and explicit remoting (discussed elsewhere on this blog) which actually creates a virtual PowerShell console on the local computer that thinks it is on the remote machine. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3476779" width="1" height="1"&gt;</description></item><item><title>re: Learn How to Use PowerShell to Run Exchange Commands Remotely</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/01/23/learn-how-to-use-powershell-to-run-exchange-server-commands-remotely.aspx#3476774</link><pubDate>Mon, 23 Jan 2012 15:32:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3476774</guid><dc:creator>JeremyEngelWork</dc:creator><description>&lt;p&gt;Thanks, Ed! Your timing was very serendipitous as just encountered this very problem last night! One question though: Does this mean that any Exchange 2010 functions run under those supplied credentials, but non-exchange commands would continue to run under the normal user context?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3476774" width="1" height="1"&gt;</description></item></channel></rss>