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.
To learn more, please review the information in this blog post.

Microsoft Virtualization Discussions

Checking "options" settings across multiple Filers.

MARTINLEGGATT
2,882 Views

Hi,

I'm new to Powershell and in order to learn it have decided to start with writing a script for a useful task.

Has anyone used Ontap Powershell to ensure the "options" settings on multiple Filers are consistent across multiple Filers?

I was going read the list of Filers in from a text file connect to each and then use the "Get-NaOption"cmdlet to read the options for each Filer into a data structure and then compare it to a list of options in another text file.

I was thinking I could run the script periodically to report on any Filers that were not compliant. Any pointers or hints would be appreciated.

Regards

Martin

1 REPLY 1

cknight
2,882 Views

Hello, Martin.  Yes, this sounds like a great way to get started with PowerShell.  You might also look at the Compare-NaOption cmdlet.

Public