rajan2a
Contributor
Contributor

Hi!

I am getting below errors while running this script, though sometimes it do the changes in VM SDRS automation but throwing this error.

Exception calling "ConfigureStorageDrsForPod" with "3" argument(s): "The object has already been deleted or has not been completely created"

At line:1 char:1

+ $storMgr.ConfigureStorageDrsForPod($pod.ExtensionData.MoRef,$spec,$true)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : VimException

Reply
0 Kudos