Could be a version thing, but that method seems to be supported since API 5.0, so that should work (I think)
I'm a bit confused by the code you showed, there it says
$protectionGroup.ListAssociatedVms()
while the error message says
$protectionGroups[0].ListAssociatedVms