How do I dynamically add elements to arrays in PowerShell? How do I dynamically add elements to arrays in PowerShell? powershell powershell