Microsoft Virtualization Discussions

Send in the Clone(s)


Hello Script Community -

I am trying to get help with a script -

I am able to produce a report listing existing clones, but am not clear how the

  • Stop-NaClone
  • Clear-NaClone

Will allow me to remove it.

Please provide any assistance or sample scripts if you are able.






Better late than never, right? Those cmdlets relate to lun clone operations in progress or failed lun clone operations. Is that what you're after, or are you trying to find volume clones?

If you're after vol clones, you could adapt this to your script:

$volstats = get-NaVol

foreach ($vol in $volstats) {

     if ($vol.CloneChildren -ne $null) {

     write-Host "Volumes with clones:"

     write-Host $vol.CloneChildren



I hope that helps.


Thanks John -

To late never a helpful hand received is [Yoda]

Your script was helpful in allowing me to report on clones attached to Volumes.

Ultimately - after more reading and research - what I need is a better understanding of the clone process.

Which should allow me to know what cmdlets to use to report on the existence of a clone, the status of that clone, and when it is safe to remove that clone if it is not being removed properly by a backup process.

Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner