Recently we received a requirement from a customer for a task related to Storage Controller Maintenance activity running on Data-Ontap 7-Mode.
The requirement was to get a list of all users with their capabilities from a Netapp Storage Controller, perform a set of activities on it and readd them.
Here's a way on how we can use the Data ONTAP PowerShell Toolkit 2.2 to attain this functionality.
1) Establish a connection to a Data ONTAP storage controller :- Use Connect-NaController cmdlet to establish a connection to the storage controller using HTTPS/HTTP. PowerShell will prompt for credentials.