Powershell Convert List To Array Python Memory