</li>
<li> Not sure why you are starting a Powershell in Powershell, but to answer your question you are not passing the variable to the process, so it doesn't know anything about the $Include variable or even $NetPath or $TmpPath. If you are trying to execute the command on another system, you should be using Invoke-Command and then you can use the $using. See https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_remote_variables?view=powershell-6
</li>