Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell create multiple variables of the same type

$a, $b, $c = 1..3 | ForEach-Object -Process { New-Object "insert.type.here" }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #powershell #create #multiple #variables #type
ADD COMMENT
Topic
Name
5+8 =