<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sep by Step Guides on Justin Verstijnen</title><link>https://justinverstijnen.nl/tags/sep-by-step-guides/</link><description>Recent content in Sep by Step Guides on Justin Verstijnen</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 25 Nov 2026 09:45:53 +0100</lastBuildDate><atom:link href="https://justinverstijnen.nl/tags/sep-by-step-guides/index.xml" rel="self" type="application/rss+xml"/><item><title>Move files via PowerShell Remote Session</title><link>https://justinverstijnen.nl/move-files-via-powershell-remote-session/</link><pubDate>Sun, 18 Feb 2024 00:00:00 +0000</pubDate><guid>https://justinverstijnen.nl/move-files-via-powershell-remote-session/</guid><description>&lt;p&gt;Sometimes we need to transfer a file from one location to another with PowerShell. In my testing lab, I use a Hyper-V Server without any GUI but I need to be able to transfer ISO files to the server. I will explain step-by-step how to perform this action.&lt;/p&gt;
&lt;p&gt;We can do this using the commands below.&lt;/p&gt;
&lt;p&gt;First setup the PowerShell remote connection by saving it in the &lt;code&gt;$ExternalServer&lt;/code&gt; variable.&lt;/p&gt;

 &lt;div class="td-card card border me-4"&gt;
&lt;div class="card-header code"&gt;
 &lt;strong&gt;PowerShell&lt;/strong&gt;
 &lt;/div&gt;
&lt;div class="card-body code p-0 m-0"&gt;
 &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$ExternalServer&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;New-PSSession&lt;/span&gt; &lt;span class="n"&gt;-ComputerName&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;JV-DC01.justinverstijnen.nl&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
 &lt;/div&gt;

&lt;p&gt;Replace the computername &lt;code&gt;JV-DC01.justinverstijnen.nl&lt;/code&gt; with the computer name of your server. Log in when needed/being asked to.&lt;/p&gt;</description></item></channel></rss>