Which PowerCLI version are you using?
I am using 5.8 Release 1.
That's a very old version.
Any reason why you are still on that version?
No reason, just never upgraded it. what version would you recommend?
The latest (11.3.0), will give you all bug fixes, performance improvements and new features.
Note that the later versions are installed from the PowerShell Gallery with Install-Module.
See Welcome PowerCLI to the PowerShell Gallery – Install Process Updates for details.
Updating my PowerCLI has solved my issue.