In a previous post I’ve talked about issues in the StoragePolicy and Tag cmdlets in PowerCLI. I found a workaround by ignoring certificate warnings and setting my date format to en-US.
Today I tried to replicate some Storage Policies from one vCenter to another and I found that I got new errors…
I can export the policies without issues, but when I try to Import the policy to the new vCenter I get the following error: “Object reference not set to an instance of an object”. Update 2018-04-06: VMware has confirmed the issue and stated it will be fixed in PowerCLI 10.1
I double-checked my workaround found in the mentioned blog post, but that was in place.… continue reading