Answers for "how to add variable to a string in powershell"

0

powershell variable to string

# cast your variable

$otherVar = 1
$myString = [string]$otherVar

# myString = "1"
Posted by: Guest on September-06-2021

Code answers related to "how to add variable to a string in powershell"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language