<?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 OR groupid:24)' matching tags 'PowerShell', 'Windows Server 2003', 'PS-Remote', 'remote server', and 'file'</title><link>http://powershell.com/cs/search/SearchResults.aspx?q=(app:forums+OR+groupid:24)&amp;tag=PowerShell,Windows+Server+2003,PS-Remote,remote+server,file&amp;orTags=0&amp;o=DateDescending</link><description>Search results for '(app:forums OR groupid:24)' matching tags 'PowerShell', 'Windows Server 2003', 'PS-Remote', 'remote server', and 'file'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>PSRemote Challenge</title><link>http://powershell.com/cs/forums/thread/12899.aspx</link><pubDate>Mon, 24 Oct 2011 05:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:12899</guid><dc:creator>squeekie</dc:creator><description>&lt;p&gt;I have a need to copy files from a remote server to another server that will be a scheduled task to run every hour.&amp;nbsp; The files can be quite large so I found that &amp;#39;robocopy&amp;#39; is the better utility for this case.&amp;nbsp; I have read the post for how to utilize it within powershell and it works great locally.&lt;/p&gt;
&lt;p&gt;The challenge:&lt;/p&gt;
&lt;p&gt;The remote server is in a DMZ part of a cluster&amp;nbsp;while the other server is located in another subnet (local).&lt;/p&gt;
&lt;p&gt;Communication is only one way, from Local to DMZ.&amp;nbsp; (I can copy files up to the server, retrieve files from the server, but I am not able to copy files from the remote server to the local server)&lt;/p&gt;
&lt;p&gt;I thought of ps-remote, which works great, I have it configured and I&amp;#39;m able to create sessions, browse, administer etc....&lt;/p&gt;
&lt;p&gt;When I launch the robocopy script, it runs it locally of course, but what I need it to do is send those files back to the local server.&amp;nbsp; Is there a possibility to have the script run locally, connect to the remote server with credentials, check for a specific mount point or drive letter if not connect to other server in cluster (I&amp;#39;m reading cluster cmdlts for this task), get the files copied to the local server and repeat the process&amp;nbsp;every hour (task&amp;nbsp;is fine or invoked by a script)&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>