Hiront
Enthusiast
Enthusiast

Persistent disk management

Hi Expert

I want to manage persistent disk using view powerCLI.

I can find get-profiledisk commandlet, but remote-profiledisk did't found.

Could you tell me how to manage persistent disk?

Hiro

0 Kudos
4 Replies
LucD
Leadership
Leadership

There are no persistent disk cmdlets in the older PowerCLI for View pssnapin I'm afraid.

Which Horizon version are you using?

With PowerCLI 6.5R1 there is a new Horizon module (VMware.Hv.Helper).
If you are on Horizon 6 or 7 you should use that module.

See also Automating VMware Horizon 7 with VMware PowerCLI 6.5


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

0 Kudos
Hiront
Enthusiast
Enthusiast

Hi LucD

My env is Horizon 7.0,2.

So I can use PowerCLI 6.5.

If you can could you tell me how to use$Global:DefaultHVServers.ExtensionData.PersistentDisk API ?

0 Kudos
LucD
Leadership
Leadership

What exactly do you want to do?
Remove one persistent disk from one VM?


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

0 Kudos
Hiront
Enthusiast
Enthusiast

I would like to detach and remove persistent disk for specific user imput from csv file.

0 Kudos