Powershell Tip #141: How to swap two variables By powershellgu | November 18, 2018 2 Comments Tip: You can swap (mutually exchanging their values) two variables. PowerShell $a = "a" $b = "b" # Swap $a, $b = $b, $a 12345 $a = "a"$b = "b" # Swap$a, $b = $b, $a
Pingback: Powershell Tip #140: Convert string to Title Case – Powershell Guru
Pingback: Powershell Tip #142: How to concatenate two text files | Powershell Guru