VMware Cloud Community
Claeszv
Contributor
Contributor

TSM to PowerCLI commands translation

Hello

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)

Localhost login:

User: Root

Pass:*******

#

# 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

Tags (1)
0 Kudos
3 Replies
LucD
Leadership
Leadership

Could you explain what these commands do ?

That would make it easier to find how to do this in PowerCLI.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Claeszv
Contributor
Contributor

Hi LucD

Thanks for your reply.

It's about converting VMware server disks to a supported format for Exsi described in  http://kb.vmware.com/kb/2036572.

Thanks

0 Kudos
LucD
Leadership
Leadership

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.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos