Answers for "powershell add to list"

4

powershell add element to array

PS C:\> $colorPicker = @('blue','white','yellow','black')
PS C:\> $colorPicker = $colorPicker + 'orange'
PS C:\> $colorPicker
blue
white
yellow
black
orange
PS C:\> $colorPicker += 'brown'
PS C:\> $colorPicker
blue
white
yellow
black
orange
brown
Posted by: Guest on June-23-2020
0

powershell add to list

$Fruits.Add("Kiwi")
Posted by: Guest on April-24-2021

Code answers related to "powershell add to list"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language