NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Purge volume recovery-queue powershell toolkit

Luis_KawaZ750
2,466 Views

Hi everyone,
I would need to purge the volume-recovery queue in my script.
I can't find the cmdlet.
Can someone give me some advice please?
Thank you very much and have a nice day!

Bye

1 ACCEPTED SOLUTION

AlexDawson
2,406 Views

Hi there! It does not seem to be part of the API - so you would need to use CLI passthrough. However if you wish to, you can use the "force" parameter to bypass recovery queue on the DELETE operation - https://docs.netapp.com/us-en/ontap-restapi//ontap/delete-storage-volumes-.html

 

Hope this helps!

View solution in original post

2 REPLIES 2

AlexDawson
2,407 Views

Hi there! It does not seem to be part of the API - so you would need to use CLI passthrough. However if you wish to, you can use the "force" parameter to bypass recovery queue on the DELETE operation - https://docs.netapp.com/us-en/ontap-restapi//ontap/delete-storage-volumes-.html

 

Hope this helps!

Ashun
2,244 Views

An idea
If you just want to delete the volume recovery queue, maybe this is the way to do it
Invoke-SSHCommand "set adv; volume recovery-queue purge-all" -SessionId [id]

Public