REQUESTED

Resignature VMFS volume

Overview

I need to be able to resignature a cloned VMFS volume on a couple different hosts. I have the UUID's stored in a variable, and I kind of know the verbiage to use the esxcli, but I can't get the method to invoke it even for a single UUID, let alone the 6 I have stored in the variable.

$_esxcli = Get-EsxCli -VMhost $_vsphereHosts -V2
$_vmfsUUID = $_esxcli.storage.vmfs.snapshot.list.invoke() | ForEach-Object VMFSUUID

and then I'm using something like

$_esxcli.storage.vmfs.snapshot.resignature($_vmfsUUID)
But I get the error
Method invocation failed because [VMware.VimAutomation.ViCore.Impl.V1.EsxCli.EsxCliElementImpl] does not contain a method named 'resignature'.

if I use $_esxcli.storage.vmfs.snapshot.resignature.invoke($_vmfsUUID)
I get
If specified, the arguments parameter must contain a single value of type Hashtable.

Sign in to be able to add comments.

Comments 0