The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to register at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

Disk Sanitization

sbrack

Is there any function / Cmdlet in the PowerShell ToolKit I can use for scripting the disk sanitization process? My customer is searching an elegant way to automate the process of erasing old storage systems securely. Security demands are high so we have to use the disk sanitization feature.

1 ACCEPTED SOLUTION

cknight

I don't have a great answer for this question.  There are no APIs for the disk sanitization feature, hence no cmdlets.  I would normally recommend Invoke-NaSsh, but that CLI command offers no switch to suppress confirmation warnings, so the SSH invocation doesn't return.  You need some kind of scriptable SSH tool with an 'expect' feature that allows you to dismiss the confirmation.

View solution in original post

2 REPLIES 2

paleon

The Invoke-NaSsh cmdlet allows users to execute any command they would enter at the command line.  Get-NaDisk and Get-NaDiskOwner would be useful for identifying which disks belong to which aggregate and which controller.

cknight

I don't have a great answer for this question.  There are no APIs for the disk sanitization feature, hence no cmdlets.  I would normally recommend Invoke-NaSsh, but that CLI command offers no switch to suppress confirmation warnings, so the SSH invocation doesn't return.  You need some kind of scriptable SSH tool with an 'expect' feature that allows you to dismiss the confirmation.

View solution in original post

Announcements
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
Public