2,187
edits
m (→IP Address: Typo fix) |
(Page deperciated) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Depreciated|category=Variables_(PowerShell)}} | |||
__TOC__ | __TOC__ | ||
Line 307: | Line 309: | ||
== Arrays == | == Arrays == | ||
<source lang="powershell"> | <source lang="powershell"> | ||
$array = @() | $array = @() # Create blank array | ||
$array += 34 | $array = @("one", "two", 3) # Create an array with some values | ||
$array += 34 # Add value to end of array | |||
</source> | </source> | ||