cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
825
Views
0
Helpful
1
Replies

How to remove a hard disk file on storage

NicolasJacq
Level 1
Level 1

Hello,

In my process, I would like to remove an additional disk.

To achieve that task, I have found "Remove VM device". It is a VMware box that I can use to remove any device (including Hard disks) and I have not found another box to do that.

But file on storage is not deleted, only the logical disk on the VM is removed.

So I was wondering if there could be another way to remove also the file on the storage?

Is a “dedicated” remove Hard disk vmware box exists in Tidal versions greater to 2.3.1?

thank you.

Best regards,

Nicolas

1 Accepted Solution

Accepted Solutions

derevan
Level 4
Level 4

There is no specific "Remove Hard Disk" activity in 2.3.1 or the upcoming 2.3.4.

Have you tried the PowerCLI command "Remove-HardDisk"? If that works for you, in 2.3.1 you can use a Windows PowerShell activity to run PowerCLI and execute a simple script that runs this command against the VM. Unfortunately, this requires connecting to vCenter directly (not through the adapter) and you will need to supply credentials.

Or, better, use the "Execute PowerCLI Script" activity in the upcoming 2.3.4 VMware Adapter.. where you can run PowerCLI activities that use your existing VMware vCenter Server target's connection and don't need supply credentials separately.

View solution in original post

1 Reply 1

derevan
Level 4
Level 4

There is no specific "Remove Hard Disk" activity in 2.3.1 or the upcoming 2.3.4.

Have you tried the PowerCLI command "Remove-HardDisk"? If that works for you, in 2.3.1 you can use a Windows PowerShell activity to run PowerCLI and execute a simple script that runs this command against the VM. Unfortunately, this requires connecting to vCenter directly (not through the adapter) and you will need to supply credentials.

Or, better, use the "Execute PowerCLI Script" activity in the upcoming 2.3.4 VMware Adapter.. where you can run PowerCLI activities that use your existing VMware vCenter Server target's connection and don't need supply credentials separately.

Review Cisco Networking for a $25 gift card