powershell foreach

Shell
ForEach($user in $users){
	Write-Output $user
}ForEach-Object
       [-InputObject <PSObject>]
       [-Begin <ScriptBlock>]
       [-Process] <ScriptBlock[]>
       [-End <ScriptBlock>]
       [-RemainingScripts <ScriptBlock[]>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Source

Also in Shell: