Getting Started With Data ONTAP PowerShell Toolkit
Getting Started With Data ONTAP PowerShell Toolkit
Getting Started With Data ONTAP PowerShell Toolkit
with the
Data ONTAP
PowerShell Toolkit
Leverage Microsoft PowerShell
for (almost) all your Data ONTAP
management needs
Or use the provided Install.ps1 script, which will unzip and copy the
files. The script will offer to copy to each location in %PSModulePath
% in turn; its simplest to allow it to install to just one of those (the
system location so its available to all users).
Open the Windows PowerShell and verify the module exists
PS C:\> Get-Module listavailable
Installation gotchas
If you prefer to add the module by unzipping
the DataONTAP.zip file manually, you may
need to clear the security attribute first in the
files Properties window.
On some versions of Windows, you may need
to add the feature .NET Framework 3.5.1
Features.
Basic
usage
examples
10
11
12
13
14
15
16
17
Monitor performance
18
More
advanced
examples
19
20
21
Additional
notes
22
Miscellaneous recommendations
You should modify your default script security settings before you get
Instead of calling out the root volume as vol0 (which may not always
NaSnapShotReserve
have to type the parameter name (such as Name). Review the GetHelp for the cmdlet to see if it is required if you want to make the
command more concise.
Many cmdlets that retrieve info support wildcards, even if the
Other ideas
Checking all the SnapMirror lag times and
outputting only those over a certain threshold
Performing a disk zero spares
Configuring options to be consistent across
the enterprise (NTP, WAFL, CIFS, etc)
Turning on and configuring dedupe
Scripting controller rollouts
Monitoring for performance issues
. (See the Toolkit community for more script
ideas)
25
Questions?
Post your ideas and questions on the
NetApp Communities page where you got the
Toolkit!
26
27