retrieve the ‘whitelist’
$white_list = ‘$home/tool/whitelist.txt’;
retrieve the file containing alerts
$signals = ‘$homewhitelist.txt’;
include the ‘whitelist’ in a variable named: [string[]]$array_white_list
I tried this
[string[]]$array_white_list = Get-Content -Path $white_list
New contributor
mrcodebeginner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.