How to Convert an Array to Dynamic Array in Powershell
$log = @()
$log = {$log}.Invoke()
$log.Add($entry)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
$log = @()
$log = {$log}.Invoke()
$log.Add($entry)