Array Setup and Networking
Showing results for 
Search instead for 
Did you mean: 

remove Target name manually with get-esxcli

Go to solution
Frequent Advisor

remove Target name manually with get-esxcli

any idea how I can manually remove Static discovery target names via command line?

I am removing some volumes from all my esxi host and need to remove the static discovery target name Capture.JPG

I am trying to do it with get-esxcli but I do not see these static discovery target names



Occasional Advisor

Re: remove Target name manually with get-esxcli

Hi Tony,

I just cleaned my lab and removing the Dynamic Discovery Address removed all static entries. You just must make sure that really nothing is connected to these static entries.

Bildschirmfoto 2015-07-23 um 23.23.58.png

The static entries:

Bildschirmfoto 2015-07-23 um 23.24.16.png

Then I ran:

~ # esxcli iscsi adapter discovery sendtarget remove --adapter=vmhba33 --address=

And there you go:

Bildschirmfoto 2015-07-23 um 23.24.32.png

I hope this helps.