Posted on 7th September 2024|941 views
How will we pass arrays to function in Powershell?
Posted on 7th September 2024| views
Param
{
[array]$ArrayList = Get-Content ArrayList.txt
}
foreach($array in $ArrayList)
{
Write-Host $array
}