any idea how I can manually remove Static discovery target names via command line?
I am trying to do it with get-esxcli but I do not see these static discovery target names
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.
The static entries:
Then I ran:
~ # esxcli iscsi adapter discovery sendtarget remove --adapter=vmhba33 --address=192.168.179.13
And there you go:
I hope this helps.