10-16-2012 01:59 AM
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
Solved! Go to Solution.
10-16-2012 03:39 AM
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.
10-16-2012 03:39 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide