Danone interview question

to write a powershell script