add element to array powershell code example
Example: 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