$LogsToEnable = @( '' ) ForEach ( $log in $LogsToEnable ) { Toggle-Log -Name $log -Enable }