<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx</link><description>Today let's talk about one of the cool new features of Windows PowerShell V2 - Interactive Remoting. Let’s start with an example: PS&amp;gt; $env:COMPUTERNAME # Check local computer name. VLADIMIA64 PS&amp;gt; Enter-PSSession Vladimia06 # Remote to other computer.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9317348</link><pubDate>Wed, 14 Jan 2009 01:23:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9317348</guid><dc:creator>J-Rod</dc:creator><description>&lt;p&gt;Will remoting in Powershell work on Windows 2003 R2 with the CTP3 and the WS-Management v1.1? &amp;nbsp;I get errors, but I am new to this config. &amp;nbsp;Any help is appreciated.&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9317780</link><pubDate>Wed, 14 Jan 2009 04:58:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9317780</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;How do I get past this?&lt;/p&gt;
&lt;p&gt;Enter-PSSession : Connecting to remote server failed with the following error message : The WinRM client cannot process&lt;/p&gt;
&lt;p&gt; the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a dom&lt;/p&gt;
&lt;p&gt;ain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setti&lt;/p&gt;
&lt;p&gt;ng. Use winrm.cmd to configure TrustedHosts. You can get more information about that by running the following command:&lt;/p&gt;
&lt;p&gt;winrm help config.&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9318115</link><pubDate>Wed, 14 Jan 2009 09:32:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9318115</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;@J-rod&lt;/p&gt;
&lt;p&gt;Sorry but remoting does not work with WS2003 R2 at this point. &amp;nbsp;That will come in a future CTP. &amp;nbsp;I know that that is a headache - I'm sorry.&lt;/p&gt;
&lt;p&gt;Experiment! Enjoy! Engage!&lt;/p&gt;
&lt;p&gt;Jeffrey Snover [MSFT]&lt;/p&gt;
&lt;p&gt;Windows Management Partner Architect&lt;/p&gt;
&lt;p&gt;Visit the Windows PowerShell Team blog at: &amp;nbsp; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/PowerShell"&gt;http://blogs.msdn.com/PowerShell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Visit the Windows PowerShell ScriptCenter at: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx"&gt;http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9318127</link><pubDate>Wed, 14 Jan 2009 09:48:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9318127</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;@ Doug:&lt;/p&gt;
&lt;p&gt;Please provide more information about your connection scenario. Is your your target computer in the same domain, different domain, or workgroup or internet. Is remoting installed and enabled on the target computer? Is WinRM service running on the target computer? Are PowerShell and WinRM CTP3 installed on both computers?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vladimir&lt;/p&gt;
</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9318909</link><pubDate>Wed, 14 Jan 2009 19:09:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9318909</guid><dc:creator>Josh Einstein</dc:creator><description>&lt;p&gt;I understand that you are committed to WinRM as opposed to something like SSH - but the fact that WinRM is not supported on Windows 2003 is very limiting right now.&lt;/p&gt;
&lt;p&gt;I would like to use the SSH server from nSoftware, but I have like 3 machines alone that are my personal workstations, not to mention a server in a VM that I would want it on so that gets pretty costly.&lt;/p&gt;
&lt;p&gt;So in your comment above you indicate that WinRM *will* be supported on Windows 2003 at RTM?&lt;/p&gt;
&lt;p&gt;In the interim, I wonder if there is some way to address the problems of running PowerShell under Windows's telnet server? In particular, scrolling doesn't work because the telnet server treats the scrolling buffer as overwrites when it sends the ANSI escape sequences?&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9319359</link><pubDate>Wed, 14 Jan 2009 23:29:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9319359</guid><dc:creator>J-Rod</dc:creator><description>&lt;p&gt;Jeff,&lt;/p&gt;
&lt;p&gt;Thanks for the quick response. &amp;nbsp;What I'm trying to do is get information similar to what the ssldiag.exe tool pulls. &amp;nbsp;Do you know any of the developer's of that tool so perhaps they could answer a couple of questions for me?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;J-Rod&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9319812</link><pubDate>Thu, 15 Jan 2009 04:26:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9319812</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;@Vladimir&lt;/p&gt;
&lt;p&gt;I tried doint the Enter-PSSession on the same machine, perhaps that is the problem, is is VISTA Ultimate.&lt;/p&gt;
&lt;p&gt;I have the CTP3 for both PoSh and WinRM installed. WinRM is running.&lt;/p&gt;
&lt;p&gt;I am not sure how to check if remoting is installed and enabled.&lt;/p&gt;
&lt;p&gt;If it helps, I can successfully do a Start-PSJob {dir} and Receive-Job for the results.&lt;/p&gt;
&lt;p&gt;I installed Windows 7 on a VPC. I tried to do a remote command from it to the VISTA host. I got a similar error.&lt;/p&gt;
&lt;p&gt;Is there a readme, post or msdn write up for trouble shooting this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9320018</link><pubDate>Thu, 15 Jan 2009 06:58:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9320018</guid><dc:creator>marco.shaw</dc:creator><description>&lt;p&gt;@J-Rod&lt;/p&gt;
&lt;p&gt;Also, just to add, for doing remoting both ends must have the same PowerShell version and same WinRM version also. &amp;nbsp;Like Jeffrey mentions, today that means you can only remote with Vista SP1 and Server 2008 systems.&lt;/p&gt;
&lt;p&gt;I've not tried the Windows 7 beta to see if this can talk to the public downloads of PowerShell/WinRM currently available for Vista SP1 and Server 2008.&lt;/p&gt;
&lt;p&gt;@Doug&lt;/p&gt;
&lt;p&gt;I've also seen this, and never did take notes to figure out if it always occurs, or perhaps something is saved during an upgrade, thus I don't notice that I get this error again.&lt;/p&gt;
&lt;p&gt;Check this from PowerShell or DOS:&lt;/p&gt;
&lt;p&gt;winrm get winrm/config/client&lt;/p&gt;
&lt;p&gt;You may see:&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;TrustedHosts = &lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;I can't connect to a WinRM 2.0 system right now to take a last peak at that setting.&lt;/p&gt;</description></item><item><title>RemoteRunspaceOpenFailed</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9320608</link><pubDate>Thu, 15 Jan 2009 14:20:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9320608</guid><dc:creator>YL Woo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I installed PS2 CTP3 as per instructions on 2 Vista SP1's (1 Enterprise, and 1 Ultimate). On one, Remoting or WinRM seems broken. I get the error below. Since PS2 is so new, googling for the above error message yielded nothing - so I hope someone can help? Thanks!&lt;/p&gt;
&lt;p&gt;PS C:\Windows\System32&amp;gt; new-pssession&lt;/p&gt;
&lt;p&gt;New-PSSession : [localhost] Connecting to remote server failed with the following error message : WS-Management cannot process th&lt;/p&gt;
&lt;p&gt;e request. The operation failed because of an HTTP error. The HTTP error (12152) is: The server returned an invalid or unrecogniz&lt;/p&gt;
&lt;p&gt;ed response .&lt;/p&gt;
&lt;p&gt;At line:1 char:14&lt;/p&gt;
&lt;p&gt;+ new-pssession &amp;lt;&amp;lt;&amp;lt;&amp;lt; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransport &lt;/p&gt;
&lt;p&gt; &amp;nbsp; Exception&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ FullyQualifiedErrorId : RemoteRunspaceOpenFailed&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9321247</link><pubDate>Thu, 15 Jan 2009 20:48:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9321247</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;@Doug&lt;/p&gt;
&lt;p&gt;To enable remoting on your machine you need to run&lt;/p&gt;
&lt;p&gt;Enable-PSRemoting -force&lt;/p&gt;
&lt;p&gt;The fact that you can run Start-Job on your box means you have already done it as jobs require remoting to be able to work.&lt;/p&gt;
&lt;p&gt;Now as the error message says, you need to add target computer to your WinRM Trusted hosts:&lt;/p&gt;
&lt;p&gt;set-item WSMan:\localhost\Client\TrustedHosts &amp;lt;computername&amp;gt; -force&lt;/p&gt;
&lt;p&gt;To enable remote connection for all computers you need to put * instead of &amp;lt;computername&amp;gt;&lt;/p&gt;
&lt;p&gt;Hope this helps. Please let me know if it worked for you.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vladimir&lt;/p&gt;
</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9321255</link><pubDate>Thu, 15 Jan 2009 20:52:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9321255</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;@ YL Woo&lt;/p&gt;
&lt;p&gt;Please note that WinRM CTP3 should also be installed on both machines.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Vladimir&lt;/p&gt;
</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9321307</link><pubDate>Thu, 15 Jan 2009 21:26:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9321307</guid><dc:creator>Smith Catar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I saw PowerShell remoting introduction with Linux OS last year, how would that realize?&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9322562</link><pubDate>Fri, 16 Jan 2009 03:50:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9322562</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;@Vladimir&lt;/p&gt;
&lt;p&gt;Thank you, that worked. Also just fyi, a wsmprovhost.exe window popped up. &lt;/p&gt;
&lt;p&gt;@Marco&lt;/p&gt;
&lt;p&gt;Thanks, I am guessing your approach is equivalent commandline way of the wsman provider. I get this message.&lt;/p&gt;
&lt;p&gt;WSManFault&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Message = The WS-Management service cannot process the request. The resource URI (&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/wbem/"&gt;http://schemas.microsoft.com/wbem/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;wsman/1/connfig/client) was not found in the WS-Management catalog. The catalog contains the metadata that describes res&lt;/p&gt;
&lt;p&gt;ources, or logical endpoints.&lt;/p&gt;
&lt;p&gt;Error number: &amp;nbsp;-2144108485 0x8033803B&lt;/p&gt;
&lt;p&gt;The WS-Management service cannot process the request. The resource URI is missing or it has an incorrect format. Check t&lt;/p&gt;
&lt;p&gt;he documentation or use the following command for information on how to construct a resource URI: &amp;quot;winrm help uris&amp;quot;.&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9322613</link><pubDate>Fri, 16 Jan 2009 03:56:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9322613</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;On my Windows7 machine (installed in a VPC) I followed the instructions for the TrustedHosts do the Enter-PSSession and get this.&lt;/p&gt;
&lt;p&gt;Enter-PSSession : Connecting to remote server failed with the following error message : WS-Management could not connect&lt;/p&gt;
&lt;p&gt; to the specified destination: (windows7:80).&lt;/p&gt;
&lt;p&gt;At line:1 char:16&lt;/p&gt;
&lt;p&gt;+ Enter-PSSession &amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;nbsp;windows7&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: InvalidArgument: (windows7:String) [Enter-PSSession], PSRemotingTransportException&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed,Microsoft.PowerShell.Commands.EnterPSSessionCommand&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9330491</link><pubDate>Fri, 16 Jan 2009 22:16:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9330491</guid><dc:creator>YL Woo</dc:creator><description>&lt;p&gt;@Vladimir,&lt;/p&gt;
&lt;p&gt;WinRM CTP3 are installed on both machines, and I haven't tried remoting to each other. I was just trying a localhost test. The remoting works on the Vista SP1 Enterprise, but not the Vista SP1 Ultimate. Strange. I even turned the firewall off.&lt;/p&gt;
&lt;p&gt;I seem to be getting Doug's latest error? Though his is slightly different.&lt;/p&gt;</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9336989</link><pubDate>Sun, 18 Jan 2009 05:44:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9336989</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;@Doug:&lt;/p&gt;
&lt;p&gt;You need to run Enable-PSRemoting -force&lt;/p&gt;
&lt;p&gt;@YL Woo:&lt;/p&gt;
&lt;p&gt;Please verify that you have correct version of WinRM installed (use Test-WSMan, the Stack value should be 2.0). Then check if winrm service is running and make sure you have run Enable-PSRemoting -force and added target computer to TrustedHosts.&lt;/p&gt;
&lt;p&gt;Note, that the first step to test remoting is to run New-PSSession without computer name. That will create a localhost connection, for which TrustedHosts is not needed.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vladimir&lt;/p&gt;
</description></item><item><title>re: Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9456509</link><pubDate>Tue, 03 Mar 2009 14:27:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9456509</guid><dc:creator>Will Ludgate</dc:creator><description>&lt;p&gt;Hiya,&lt;/p&gt;
&lt;p&gt;I had days of struggling trying to get bakground jobs to run on vista home premium - is it possible? &amp;nbsp;I downloaded the trial version of server 2008 &amp;amp; had it up &amp;amp; running in seconds. &amp;nbsp;I think its the over the top security in vista that is causing my problem - on trying to configure winrm I get that it doesnt have permission for localhost !&lt;/p&gt;
&lt;p&gt;Ive tried disabling UAC &amp;amp; the &amp;quot;neater&amp;quot; DWORD=0 stuff but all to no avail - have you any suggestions please. &amp;nbsp;Its the CTP3 versions I'm trying to install&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Will&lt;/p&gt;</description></item><item><title>Windows PowerShell Blog : Interactive remoting in CTP3</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/interactive-remoting-in-ctp3.aspx#9524213</link><pubDate>Wed, 01 Apr 2009 01:02:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9524213</guid><dc:creator>It's my life... And I live it...</dc:creator><description>&lt;p&gt;Now they have interactive remoting working… I tell you something, PowerShell v2 is getting more and more&lt;/p&gt;
</description></item></channel></rss>