Link to home
Start Free TrialLog in
Avatar of campbell1972
campbell1972

asked on

Changing name of Powershell variables

I'm looking for the simplest way in Powershell to uniquely identify a variable that will be subject to numerous loop iterations.

The question is a simple one I hope: How do you (if you even can!) modify the name of a variable once it has been set?

For example, if my variable name is $Test, how could I append a server name to the variable name (i.e. $TestServer)

Any and all help appreciated!

JayZee
SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial