Lets keep the channel going ! Please subscribe if this was helpful :)
Visit my website for more tech related news and info ! https://www.totaltechstuff.com/
Commands used;
$users = @("user1", "user2", "user3")
foreach($user in $users) {
Write-Host "heloo $user"
}