How To Use Foreach Loop In Powershell 7