Swapping variables with PowerShell

I’ve often had cases with programming where I want to swap the contents of two variables. For example, suppose I have two variables $a, and $b, and what we want is to have $a contain the value of $b and $b contain the value of $a. As an old fashioned Read More...

Read the complete post at http://tfl09.blogspot.com/2009/02/swapping-variables-with-powershell.html


Posted Feb 17 2009, 04:11 AM by Under The Stairs
Filed under: , ,
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.