Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Reference local variables in a remote PowerShell session the easy way

$
0
0

Q. How can I easily reference local variables in a remote PowerShell execution?

A. PowerShell v3 and above makes this very easy. Prior to version 3 to use variables in a remote PowerShell session you needed to pass the variables as arguments for example:

Read More


Viewing all articles
Browse latest Browse all 6937

Trending Articles