<?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>Search results for 'app:forums' matching tags 'PowerShell v2', 'Remoting without Admin Permissions', and 'PSSession Cmdlets'</title><link>http://powershell.com/cs/search/SearchResults.aspx?q=app:forums&amp;tag=PowerShell+v2,Remoting+without+Admin+Permissions,PSSession+Cmdlets&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:forums' matching tags 'PowerShell v2', 'Remoting without Admin Permissions', and 'PSSession Cmdlets'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Remote powershell from 1 domain to another - no trust or dns, must use IP</title><link>http://powershell.com/cs/forums/thread/15782.aspx</link><pubDate>Tue, 03 Apr 2012 05:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:15782</guid><dc:creator>virtuallynothere</dc:creator><description>&lt;p&gt;Hey all - I am trying to get Remote PowerShell working so that I can connect to systems in a test domain from my prod domain, and I am getting an error related to the IP address issue.&amp;nbsp;I have read about this a fair amount but I don&amp;#39;t see a great solution or a good explanation of the issue with the best solution.&amp;nbsp;I want the connection to be secure, but as it&amp;#39;s internal from prod to test I am not going to setup https connections, so I tried adding the trusted hosts on my client using the command below.&amp;nbsp; I still get the same error.&amp;nbsp; I am also trying to launch this from a 3rd party app and the command I am using is below as well. The app is just an rdp manager but I can add external apps like powershell, so the computername variable is entered by the app when I select the computer I want to remote to.&lt;/p&gt;
&lt;p&gt;I did try to add a -credential parameter to the powershell.exe string, but then the string fails to launch powershell, the powershell.exe is put into the executable in the 3rd party app, then the rest is put into the &amp;quot;arguments&amp;quot; section. &lt;/p&gt;
&lt;p&gt;The last catch is that I will connect to the remote systems using a different account than the one that I am logged onto my client with, so it makes sense to get prompted for credentials unless I can securely store them in someway?&lt;/p&gt;
&lt;pre class="PowerShellColorizedScript" style="padding-bottom:0.66em;overflow-x:auto;overflow-y:auto;widows:2;text-transform:none;background-color:#eeeeee;text-indent:0px;margin:0px 0px 1.83em;padding-left:0.91em;letter-spacing:normal;padding-right:0.91em;orphans:2;color:#111111;clear:both;word-spacing:0px;padding-top:0.66em;background-origin:initial;background-clip:initial;border-image:initial;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;border:#dddddd 1px solid;"&gt;&lt;span style="margin:0px;color:#0000ff;padding:0px;"&gt;Set-Item&lt;/span&gt; &lt;span style="margin:0px;color:#8a2be2;padding:0px;"&gt;WSMan:\localhost\Client\TrustedHosts&lt;/span&gt; &lt;span style="margin:0px;color:#000080;padding:0px;"&gt;-Value&lt;/span&gt; &lt;span style="margin:0px;color:#8a2be2;padding:0px;"&gt;*&lt;/span&gt;  &lt;/pre&gt;
&lt;p&gt;Powershell.exe -NoProfile -NoExit -Command &amp;quot;&amp;amp; {Enter-PSSession %COMPUTERNAME%}&amp;quot; &lt;/p&gt;
&lt;p&gt;The error I get is:&lt;/p&gt;
&lt;p&gt;Enter-PSSession : Connecting to remote server failed with the following error m&lt;br /&gt;essage : The WinRM client cannot process the request. Default authentication ma&lt;br /&gt;y be used with an IP address under the following conditions: the transport is H&lt;br /&gt;TTPS or the destination is in the TrustedHosts list, and explicit credentials a&lt;br /&gt;re provided. Use winrm.cmd to configure TrustedHosts. Note that computers in th&lt;br /&gt;e TrustedHosts list might not be authenticated. For more information on how to&lt;br /&gt;set TrustedHosts run the following command: winrm help config. For more informa&lt;br /&gt;tion, see the about_Remote_Troubleshooting Help topic.&lt;/p&gt;</description></item></channel></rss>