powershell get content foreach object