I have couple of VM disks to fix with below commands in the TSM but can anyone tell me how this should be done in PowerCLI. ( I am not a programmer so I need your help to point this out as below example)
# vmkload_mod multiextent
# cd /vmfs/volumes/datastore1/Server1
# vmkfstools -i Server1.VMDK Server1-Clone.VMDK -d zeroedthick
# vmkfstools -U Server1.VMDK
# vmkfstools -E Server1-Clone.VMDK Server1.VMDK
# vmkload_mod -u multiextent
May I ask you how this would look in PowerCLI?
I have tried but I give up
Thanks in advance
Thanks, but afaik there are no PowerCLI cmdlets for this functionality.
And I don't even think there are any public API one could call from a script for some of these commands.
The commands that are based on private API can't be scripted in PowerCLI I'm afraid.