Powershell Custom Object Array To Int Array Syntax In Java