When running scripts that connect to remote systems using Invoke-Command, you can use your local variables in the remote session which makes things a lot easier. In this blog post, I will show you how 🙂
Jean-Pierre Paradis's Blog
PowerShell
Using $using in PowerShell for local variables in remote sessions
Previous PostOlder Post
Home