<?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>Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx</link><description>As you probably know by now, &amp;quot;remoting&amp;quot; is one of the cornerstone features of the next version of PowerShell.&amp;#160; I am absolutely thrilled with the stuff we are doing here and the benefits that come from that approach.&amp;#160; That said, there</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#7964575</link><pubDate>Sat, 01 Mar 2008 01:18:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7964575</guid><dc:creator>Andy Schneider</dc:creator><description>&lt;p&gt;This is awesome!! I just pulled all the processes from my win2k8 box running V1 down to my vista machine. Schweet !!!&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#7995452</link><pubDate>Mon, 03 Mar 2008 07:35:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7995452</guid><dc:creator>lrbell</dc:creator><description>&lt;p&gt;We have a constant stream of AD environments coming into our IT dept. &amp;nbsp;We cannot assimilate them (long story). &amp;nbsp;I would like to [from ONE powershell box] access each domain in a manner not unlike an array of systems.&lt;/p&gt;
&lt;p&gt;Yes, I have ten domains with 10 different user/pw credentials with NO trust (again, long story). &lt;/p&gt;
&lt;p&gt;A sort of stand alone powershell mgmt system that can bridge the scenario of n untrusted ADs.&lt;/p&gt;
&lt;p&gt;I know calling things 'within' an AD is easily done in PS, but my dilemma adds a step, as I am outside the AD.&lt;/p&gt;
&lt;p&gt;(yes, I could put PS on one system per domain, but that defeats my desire to pull this off with zero footprint)&lt;/p&gt;
&lt;p&gt;I have posted this elsewhere with no apparent luck; &amp;nbsp;Jeffery, will you assist?&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#7998493</link><pubDate>Mon, 03 Mar 2008 12:41:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7998493</guid><dc:creator>Abhishek Agrawal [MSFT]</dc:creator><description>&lt;p&gt;Hi lrbell,&lt;/p&gt;
&lt;p&gt;Thanks for describing your sceanrio. I have passed it along to the AD team. I will post back here once I hear from them.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Abhishek Agrawal[MSFT]&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8049850</link><pubDate>Wed, 05 Mar 2008 12:41:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8049850</guid><dc:creator>Dude85</dc:creator><description>&lt;p&gt;I have a similar problem as Irbell, I have to read informations from exchange management console outside the AD.&lt;/p&gt;
&lt;p&gt;Scenario:&lt;/p&gt;
&lt;p&gt;Machine A: Exchange 2007 in AD&lt;/p&gt;
&lt;p&gt;Machine B: My Tool to overview Exchange performance&lt;/p&gt;
&lt;p&gt;I'm not sure if it's possible. I would be happy if you can give me any hints ;)&lt;/p&gt;</description></item><item><title>@Dude85</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8053694</link><pubDate>Wed, 05 Mar 2008 21:16:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8053694</guid><dc:creator>marco.shaw</dc:creator><description>&lt;p&gt;Dude85,&lt;/p&gt;
&lt;p&gt;WMI support has been stripped out of Exchange 2007. &amp;nbsp;That being said, you could possibly:&lt;/p&gt;
&lt;p&gt;1. Use Exchange Web Services.&lt;/p&gt;
&lt;p&gt;2. Use another local system to get the performance data, save it to a file, etc., and you can then fetch that file.&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8069106</link><pubDate>Thu, 06 Mar 2008 12:12:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8069106</guid><dc:creator>Dude85</dc:creator><description>&lt;p&gt;Marco,&lt;/p&gt;
&lt;p&gt;thanks for your answer. The big goal for this problem is, only to have code on the workstation. You install the application and write the name of your exchange server and the tool should monitor the informations without any special configuration on the exchange server.&lt;/p&gt;
&lt;p&gt;The part with web service could be a good solution, but I have to implement my own webservices on the exchange server, because you can't read performance informations with the implemented services.&lt;/p&gt;
&lt;p&gt;Well, if there's no other way, I will implement the web service solution :P&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8117329</link><pubDate>Sun, 09 Mar 2008 15:54:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8117329</guid><dc:creator>stryqx</dc:creator><description>&lt;p&gt;While I think Powershell is a step in the right direction, this sort of camel through the eye of a needle approach makes me wish that ssh/sshd got added as a role in Win2008...&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8165234</link><pubDate>Wed, 12 Mar 2008 05:46:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8165234</guid><dc:creator>ajax76</dc:creator><description>&lt;p&gt;PS C:\&amp;gt; Winrs &amp;quot;-r:localhost&amp;quot; PowerShell -NoProfile -NonInteractive start-psjob -command 'l&lt;/p&gt;
&lt;p&gt;s -rec c:\'&lt;/p&gt;
&lt;p&gt;Winrs error:Access denied. PS C:\&amp;gt; Winrs &amp;quot;-r:localhost&amp;quot; PowerShell -NoProfile -NonInt&lt;/p&gt;
&lt;p&gt;eractive new-runspace&lt;/p&gt;
&lt;p&gt;What's wrong?&lt;/p&gt;
&lt;p&gt;All i need(winrm,firewall,policy) - install, config., and start.&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8172134</link><pubDate>Wed, 12 Mar 2008 21:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8172134</guid><dc:creator>Vadim Malashenko</dc:creator><description>&lt;p&gt;Please, help to solve this problem (PSJob, WinRM): &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://groups.google.ch/group/microsoft.public.windows.powershell/browse_thread/thread/c50f2ed5c1f108b1"&gt;http://groups.google.ch/group/microsoft.public.windows.powershell/browse_thread/thread/c50f2ed5c1f108b1&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8330177</link><pubDate>Sat, 22 Mar 2008 02:29:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8330177</guid><dc:creator>lrbell</dc:creator><description>&lt;p&gt;Abhishek, any word, update, or status?&lt;/p&gt;
&lt;p&gt;Hearing crickets is great for fishing, but not so much on blogs..&lt;/p&gt;
&lt;p&gt;:-)&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8635587</link><pubDate>Sun, 22 Jun 2008 05:03:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8635587</guid><dc:creator>mario</dc:creator><description>&lt;p&gt;another option is to use SSH&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://gotmvc.net/?p=3"&gt;http://gotmvc.net/?p=3&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#8735144</link><pubDate>Wed, 16 Jul 2008 00:13:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8735144</guid><dc:creator>EDF</dc:creator><description>&lt;p&gt;That ssh server Mario mentions in his article won't due for an enterprise. &amp;nbsp;Running the command with any flags/derivitives that I can think of):&lt;/p&gt;
&lt;p&gt;ssh2 user@host &amp;quot;powershell -command script.ps1&amp;quot;&lt;/p&gt;
&lt;p&gt;...doesn't work in Tectia SSH Server. &amp;nbsp;It just hangs. &amp;nbsp;It's disappointing that we have to battle/justify why admins will need WinRM/WinRS/WinMGMT in addition to SSH, just so we can use powershell on our DMZ systems. &amp;nbsp;It'll take years for us to actually use WinRM because of the need to duplicate what we already have using ssh.&lt;/p&gt;
&lt;p&gt;I appreciate the efforts of the powershell team, but without being able to exec powershell from ssh, powershell is a novelty for my org (fortune 500 - near the bottom of the stack). &amp;nbsp;We'll still have to use vbs and bat files.&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#9363621</link><pubDate>Thu, 22 Jan 2009 09:21:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9363621</guid><dc:creator>liral</dc:creator><description>&lt;p&gt;HI ALL &lt;/p&gt;
&lt;p&gt;i want more information for remote connection in power shell v2&lt;/p&gt;</description></item><item><title>Windows PowerShell Blog : Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#9431936</link><pubDate>Wed, 18 Feb 2009 20:51:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9431936</guid><dc:creator>It's my life... And I live it...</dc:creator><description>&lt;p&gt;Just a reminder of how you can remote a script in PowerShell using the V1 capabilities and WinRS/WinRM&lt;/p&gt;
</description></item><item><title>WinRS doesn't support -skipCNcheck</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#9692086</link><pubDate>Wed, 03 Jun 2009 21:27:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9692086</guid><dc:creator>Doug Clutter</dc:creator><description>&lt;p&gt;If you are running your WinRM connection through HTTPS you'll need a cert. &amp;nbsp;When calling WinRM on a staging server, we use the -skipCNcheck because the server name in the cert doesn't match the staging server.&lt;/p&gt;
&lt;p&gt;Unfortunately, WinRS doesn't support skipCNcheck. &amp;nbsp;While more complicated, &amp;quot;WinRM Invoke Create Win32_Process&amp;quot; will do the trick.&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#9692845</link><pubDate>Wed, 03 Jun 2009 23:41:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9692845</guid><dc:creator>Doug Clutter</dc:creator><description>&lt;p&gt;Base64 sometimes uses the = sign for padding. &amp;nbsp;When it does this, you cannot pass the encoded string on the command line because the CMD.exe uses the = character as a delimiter and it gets dropped.&lt;/p&gt;
&lt;p&gt;As a work-around, I've created this function to create encoded strings:&lt;/p&gt;
&lt;p&gt;Function global:Get-EncodedScript([string] $script) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;$encodedScript = [System.Convert]::ToBase64String([System.Text.Encoding]::UNICODE.GetBytes($script))&lt;/p&gt;
&lt;p&gt; &amp;nbsp;while ($encodedScript.Contains(&amp;quot;=&amp;quot;)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$script = $script + &amp;quot; &amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$encodedScript = [System.Convert]::ToBase64String([System.Text.Encoding]::UNICODE.GetBytes($script))&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return $encodedScript&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item><item><title>Problem with EncodedCommand</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#9692852</link><pubDate>Wed, 03 Jun 2009 23:42:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9692852</guid><dc:creator>Doug Clutter</dc:creator><description>&lt;p&gt;Base64 sometimes uses the = sign for padding. &amp;nbsp;When it does this, you cannot pass the encoded string on the command line because the CMD.exe uses the = character as a delimiter and it gets dropped.&lt;/p&gt;
&lt;p&gt;As a work-around, I've created this function to create encoded strings:&lt;/p&gt;
&lt;p&gt;Function global:Get-EncodedScript([string] $script) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;$encodedScript = [System.Convert]::ToBase64String([System.Text.Encoding]::UNICODE.GetBytes($script))&lt;/p&gt;
&lt;p&gt; &amp;nbsp;while ($encodedScript.Contains(&amp;quot;=&amp;quot;)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$script = $script + &amp;quot; &amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$encodedScript = [System.Convert]::ToBase64String([System.Text.Encoding]::UNICODE.GetBytes($script))&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return $encodedScript&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item><item><title>re: Remoting Using PowerShell V1</title><link>http://blogs.msdn.com/powershell/archive/2008/02/29/remoting-using-powershell-v1.aspx#9890807</link><pubDate>Thu, 03 Sep 2009 12:16:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9890807</guid><dc:creator>ali</dc:creator><description>&lt;p&gt;how can i check if a server really exists ?&lt;/p&gt;
&lt;p&gt;i mean ... i'm connecting to a number of servers, and using the get-wmiobject.. &lt;/p&gt;
&lt;p&gt;if a servers doesn't exist, then the whole task gets stuck, with no error action... can u help&lt;/p&gt;</description></item></channel></rss>