Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell variable to string

# cast your variable

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

# myString = "1"
 
PREVIOUS NEXT
Tagged: #powershell #variable #string
ADD COMMENT
Topic
Name
4+7 =