<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article The Data ONTAP PowerShell Toolkit in Tech ONTAP Articles</title>
    <link>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/ta-p/85933</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background-color: #ffffff; margin-top: 0pt; width: 800px; border: #f8f4e6 1px solid;"&gt;&lt;TBODY&gt;&lt;TR valign="top"&gt;&lt;TD colspan="2" style="margin: 0pt; width: 800px; border: #f8f4e6 0pt; padding: 0pt;"&gt;&lt;DIV style="margin: 0pt 0pt 5px; width: 800px; padding: 0pt;"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/7241_art_banner_tot_800x84.jpg" width="800" /&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR valign="top"&gt;&lt;TD style="border: 0pt none #f8f4e6; padding-right: 1em;" valign="top"&gt;&lt;DIV class="article_author" style="padding-left: 5px;"&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-8285" target="_blank"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/8503_pdf.gif" style="float: right;" /&gt;&lt;/A&gt;By &lt;A href="#author"&gt;John Fullbright, NetApp&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 5px;"&gt;&lt;P style="margin-top: 5px;"&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit?view=all#/?per_page=50" target="_blank"&gt;The Data ONTAP® PowerShell Toolkit forum&lt;/A&gt; on the NetApp Community pages has seen a lot of activity since the toolkit was released in June 2010. Because of the high level of interest, Tech OnTap asked John Fullbright of NetApp Professional Services to explain the toolkit for Tech OnTap readers.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a busy storage environment, there are dozens of tasks to be performed every day. Wouldn't it be great if you had an easy way to automate repetitive tasks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's exactly what the Data ONTAP PowerShell Toolkit does for those working in Microsoft® environments. For example, in large-scale virtualized environments, it can be difficult to map all the LUNs used by various virtual machines. One toolkit user, &lt;A class="jive-link-custom" href="http://www.theselights.com/" target="_blank"&gt;Erick Moore&lt;/A&gt;, used the toolkit cmdlets and Visio to create a &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-6411" target="_blank"&gt;script with graphical output&lt;/A&gt; that maps LUNs to VMs. An example of the output is shown in Figure 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="center" class="totFootnote"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/8566_featurefig1.jpg" style="border: 0px solid #dddddd;" width="400" /&gt;&lt;/P&gt;&lt;DIV style="text-align: right; width: 65px; float: left; margin-left: 10px;"&gt;&lt;STRONG&gt;Figure 1)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="text-align: left; width: 325px; float: left; margin-left: 2px;"&gt;Output from a PowerShell script that uses the Data ONTAP PowerShell Toolkit and Visio to map VMs to storage LUNs.&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="clear: both; margin-bottom: 10px;"&gt; &lt;/DIV&gt;&lt;P&gt;This is a pretty dramatic example of what the toolkit can accomplish, but you'll be amazed at how much you can accomplish with just a few lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this article, I explain what the Data ONTAP PowerShell Toolkit is, talk about some common use cases, give some tips on developing your own scripts, and provide some pointers to useful resources.&lt;/P&gt;&lt;H3&gt;What Is the Data ONTAP PowerShell Toolkit?&lt;/H3&gt;&lt;P&gt;Windows® PowerShell is Microsoft's command-line shell and scripting language for system administrators. In PowerShell, administrative tasks are performed by specialized cmdlets (pronounced command-lets).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data ONTAP PowerShell Toolkit is a NetApp developed set of cmdlets for Windows PowerShell that encapsulate many of the APIs available in the NetApp Manage ONTAP® Software Developer's Kit. These cmdlets let you tap into the power of NetApp APIs to easily perform a wide variety of NetApp specific tasks from within PowerShell scripts. Over 400 cmdlets are available, covering all aspects of NetApp operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit"&gt;download the toolkit here&lt;/A&gt; (free to Data ONTAP customers and partners).&lt;/P&gt;&lt;H3&gt;Common Use Cases&lt;/H3&gt;&lt;P&gt;Possible use cases for the Data ONTAP PowerShell Toolkit are almost endless. I'll mention a few of the ideas that have been developed and posted on the NetApp Community forum that I think are of particular interest. A later section has links to resources you can access for more information on these and other use cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Automated Provisioning.&lt;/STRONG&gt; Provisioning new storage is often a time-consuming task. Using the toolkit you can create scripts that let you connect to a storage system, create aggregates and volumes within those aggregates, and set the appropriate options on each volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Monitoring and Managing Snapshot Copies.&lt;/STRONG&gt; A common task is to go through all your NetApp storage to see how many Snapshot® copies you've got and how much space each is retaining. Another Snapshot-related task is to periodically remove older Snapshot copies based on time or the number of Snapshot copies you want to keep. PowerShell toolkit scripts can do this work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thin Provisioning.&lt;/STRONG&gt; Thin provisioning can save you a lot of storage capacity. Before you use it, however, you'll want to know how much space you can potentially save, and then you'll want an easy way to enable the thin-provisioning settings on each volume. The forum includes scripts that can help you do both. (You can learn more about thin provisioning in a &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-8122" target="_blank"&gt;companion article&lt;/A&gt; in this issue of Tech OnTap.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mirroring.&lt;/STRONG&gt; The Data ONTAP PowerShell Toolkit includes a number of cmdlets to manage NetApp SnapMirror®, including the ability to create mirrors, initiate updates, and break and reverse relationships. Using the available capabilities, you can automate almost any SnapMirror operation.&lt;/P&gt;&lt;H3&gt;Tips for Developing Scripts&lt;/H3&gt;&lt;P&gt;Windows PowerShell uses pipelined execution similar to bash for simplified scripting. If you're not already familiar with PowerShell, the first thing you want to do is familiarize yourself with it. A variety of Web resources exist, such as &lt;A class="jive-link-custom" href="http://technet.microsoft.com/en-us/library/dd347730.aspx" target="_blank"&gt;Windows PowerShell Basics&lt;/A&gt; on the Microsoft TechNet Web site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you've got the basics down, you'll want to learn about the capabilities of the NetApp specific cmdlets in the Data ONTAP PowerShell Toolkit. You can see the list of cmdlets by entering the following at the PowerShell command prompt (with the toolkit installed):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-NaHelp&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full details can be viewed by entering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Show-NaHelp&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get help on a specific cmdlet by entering either of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-Help &lt;EM&gt;cmdlet-name&lt;/EM&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-Help&amp;nbsp; &lt;EM&gt;cmdlet-name&lt;/EM&gt; -full&lt;/CODE&gt; (shows full details)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help file for each NetApp cmdlet includes at least one real-usage example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the Data ONTAP PowerShell Toolkit was launched, I posted a lot of "how to" information on various NetApp topics on the &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit?view=all#/?per_page=50" target="_blank"&gt;Toolkit forum&lt;/A&gt;. If you go to the main forum page and search on "HOWTO" or "fjohn" you'll easily locate these posts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The great thing about PowerShell scripts-including those that use the Data ONTAP toolkit-is that you almost never have to start writing from scratch. You almost always can find an existing script to use as a starting point. The following section links to a few resources to help you get started.&lt;/P&gt;&lt;H3&gt;Resources&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-6162" target="_blank"&gt;Presentation on Data ONTAP PowerShell Toolkit&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit?view=all#/?per_page=50" target="_blank"&gt;Data ONTAP PowerShell Toolkit Forum&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit/samples?view=all" target="_blank"&gt;Sample scripts&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit"&gt;Download the toolkit&lt;/A&gt; (free to Data ONTAP customers and partners)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="margin: 0; padding: 10px; background-color: #dedede;"&gt;&lt;IMG src="http://media.netapp.com/designimages/arrow-wrap.gif" /&gt; &lt;STRONG&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/message/41168#41168"&gt;Got opinions about Data ONTAP Powershell Toolkit?&lt;/A&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;Ask questions, exchange ideas, and share your thoughts online in NetApp Communities.&lt;/DIV&gt;&lt;BR /&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" class="author_module" style="width: 100%; border: #f8f4e6 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="author_photo" style="border: 0pt none #f8f4e6; padding: 0 1em 0 0; vertical-align: top;" valign="top"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/8577_john_fullbright_final.jpg" /&gt;&lt;/SPAN&gt;&lt;A id="author" name="author"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="author_info" style="padding: 1em 0 0 0; vertical-align: top; border: 0pt none #f8f4e6;"&gt;&lt;P style="font-family: Arial,Helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: #616365;"&gt;&lt;STRONG&gt;John Fullbright&lt;/STRONG&gt;&lt;BR /&gt;Professional Services Consultant&lt;BR /&gt;NetApp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John is a "resident expert" on Exchange. In 2006, John won a Microsoft Most Valuable Professional Award recognizing his competency in Exchange Server technical communities. Prior to NetApp, John was a rapid response engineer in the Microsoft Global Solutions Support Center. As a member of the Microsoft Rapid On-Site Services team, John was regularly tapped to solve the challenges of premier Microsoft customers. He has also served as an intelligence analyst and IT professional for the U.S. Army.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="border: 0pt none #f8f4e6; margin: 0pt; padding: 0pt;" width="310"&gt;&lt;DIV style="margin-right: 0px; text-align: left;"&gt;&lt;DIV class="explore_heading" style="border-bottom: #c3c3c3 1px solid; border-left: #c3c3c3 4px solid; padding-bottom: 10px; padding-left: 20px; width: 310px; padding-right: 20px; max-width: 310px; background: #c3c3c3; color: #454545; font-size: 18px; font-weight: bold; border-right: #c3c3c3 4px solid; padding-top: 10px;"&gt;Explore&lt;/DIV&gt;&lt;DIV class="sidebar_box" style="border-bottom: #696969 1px solid; min-width: 310px; border-left: #c3c3c3 4px solid; padding-bottom: 10px; margin: 0pt; padding-left: 20px; width: 310px; padding-right: 20px; background: #efefef; border-right: #c3c3c3 4px solid; padding-top: 5px;"&gt;&lt;P&gt;&lt;STRONG&gt;Ready to Get Started?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Download the free Data ONTAP PowerShell Toolkit now (free to Data ONTAP customers and partners), and get started automating NetApp management in your Windows environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="arrow" border="0" src="http://media.netapp.com/designimages/arrow-wrap.gif" /&gt; &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit"&gt;More&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="sidebar_box" style="border-bottom: #c3c3c3 4px solid; min-width: 310px; border-left: #c3c3c3 4px solid; padding-bottom: 10px; margin: 0pt; padding-left: 20px; width: 310px; padding-right: 20px; background: #efefef; border-right: #c3c3c3 4px solid; padding-top: 5px;"&gt;&lt;P&gt;&lt;STRONG&gt;Learn More About NetApp Management&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Tech OnTap has devoted a lot of coverage over the years to the NetApp suite of management tools. Check out the following articles to learn more:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://www.netapp.com/us/communities/tech-ontap/tot-sanscreen-0906.html" target="_blank"&gt;Get Your Storage Under Control with SANscreen&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://www.netapp.com/us/communities/tech-ontap/tot-five-reasons-sanscreen-1008.html" target="_blank"&gt;Top Five Reasons to Use SANscreen&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://partners.netapp.com/go/techontap/death_scale.html" target="_blank"&gt;Three Secrets to Avoid Death by Scale&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://partners.netapp.com/go/techontap/matl/monitor-troubleshoot.html" target="_blank"&gt;Monitor and Improve Storage Performance&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://partners.netapp.com/go/techontap/matl/app_integration.html" target="_blank"&gt;Integrating Apps with Storage&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="sidebar_bottom"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sat, 25 Sep 2010 21:18:38 GMT</pubDate>
    <dc:creator>Tech_OnTap</dc:creator>
    <dc:date>2010-09-25T21:18:38Z</dc:date>
    <item>
      <title>The Data ONTAP PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/ta-p/85933</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background-color: #ffffff; margin-top: 0pt; width: 800px; border: #f8f4e6 1px solid;"&gt;&lt;TBODY&gt;&lt;TR valign="top"&gt;&lt;TD colspan="2" style="margin: 0pt; width: 800px; border: #f8f4e6 0pt; padding: 0pt;"&gt;&lt;DIV style="margin: 0pt 0pt 5px; width: 800px; padding: 0pt;"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/7241_art_banner_tot_800x84.jpg" width="800" /&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR valign="top"&gt;&lt;TD style="border: 0pt none #f8f4e6; padding-right: 1em;" valign="top"&gt;&lt;DIV class="article_author" style="padding-left: 5px;"&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-8285" target="_blank"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/8503_pdf.gif" style="float: right;" /&gt;&lt;/A&gt;By &lt;A href="#author"&gt;John Fullbright, NetApp&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 5px;"&gt;&lt;P style="margin-top: 5px;"&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit?view=all#/?per_page=50" target="_blank"&gt;The Data ONTAP® PowerShell Toolkit forum&lt;/A&gt; on the NetApp Community pages has seen a lot of activity since the toolkit was released in June 2010. Because of the high level of interest, Tech OnTap asked John Fullbright of NetApp Professional Services to explain the toolkit for Tech OnTap readers.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a busy storage environment, there are dozens of tasks to be performed every day. Wouldn't it be great if you had an easy way to automate repetitive tasks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's exactly what the Data ONTAP PowerShell Toolkit does for those working in Microsoft® environments. For example, in large-scale virtualized environments, it can be difficult to map all the LUNs used by various virtual machines. One toolkit user, &lt;A class="jive-link-custom" href="http://www.theselights.com/" target="_blank"&gt;Erick Moore&lt;/A&gt;, used the toolkit cmdlets and Visio to create a &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-6411" target="_blank"&gt;script with graphical output&lt;/A&gt; that maps LUNs to VMs. An example of the output is shown in Figure 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="center" class="totFootnote"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/8566_featurefig1.jpg" style="border: 0px solid #dddddd;" width="400" /&gt;&lt;/P&gt;&lt;DIV style="text-align: right; width: 65px; float: left; margin-left: 10px;"&gt;&lt;STRONG&gt;Figure 1)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV style="text-align: left; width: 325px; float: left; margin-left: 2px;"&gt;Output from a PowerShell script that uses the Data ONTAP PowerShell Toolkit and Visio to map VMs to storage LUNs.&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="clear: both; margin-bottom: 10px;"&gt; &lt;/DIV&gt;&lt;P&gt;This is a pretty dramatic example of what the toolkit can accomplish, but you'll be amazed at how much you can accomplish with just a few lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this article, I explain what the Data ONTAP PowerShell Toolkit is, talk about some common use cases, give some tips on developing your own scripts, and provide some pointers to useful resources.&lt;/P&gt;&lt;H3&gt;What Is the Data ONTAP PowerShell Toolkit?&lt;/H3&gt;&lt;P&gt;Windows® PowerShell is Microsoft's command-line shell and scripting language for system administrators. In PowerShell, administrative tasks are performed by specialized cmdlets (pronounced command-lets).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data ONTAP PowerShell Toolkit is a NetApp developed set of cmdlets for Windows PowerShell that encapsulate many of the APIs available in the NetApp Manage ONTAP® Software Developer's Kit. These cmdlets let you tap into the power of NetApp APIs to easily perform a wide variety of NetApp specific tasks from within PowerShell scripts. Over 400 cmdlets are available, covering all aspects of NetApp operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit"&gt;download the toolkit here&lt;/A&gt; (free to Data ONTAP customers and partners).&lt;/P&gt;&lt;H3&gt;Common Use Cases&lt;/H3&gt;&lt;P&gt;Possible use cases for the Data ONTAP PowerShell Toolkit are almost endless. I'll mention a few of the ideas that have been developed and posted on the NetApp Community forum that I think are of particular interest. A later section has links to resources you can access for more information on these and other use cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Automated Provisioning.&lt;/STRONG&gt; Provisioning new storage is often a time-consuming task. Using the toolkit you can create scripts that let you connect to a storage system, create aggregates and volumes within those aggregates, and set the appropriate options on each volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Monitoring and Managing Snapshot Copies.&lt;/STRONG&gt; A common task is to go through all your NetApp storage to see how many Snapshot® copies you've got and how much space each is retaining. Another Snapshot-related task is to periodically remove older Snapshot copies based on time or the number of Snapshot copies you want to keep. PowerShell toolkit scripts can do this work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thin Provisioning.&lt;/STRONG&gt; Thin provisioning can save you a lot of storage capacity. Before you use it, however, you'll want to know how much space you can potentially save, and then you'll want an easy way to enable the thin-provisioning settings on each volume. The forum includes scripts that can help you do both. (You can learn more about thin provisioning in a &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-8122" target="_blank"&gt;companion article&lt;/A&gt; in this issue of Tech OnTap.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mirroring.&lt;/STRONG&gt; The Data ONTAP PowerShell Toolkit includes a number of cmdlets to manage NetApp SnapMirror®, including the ability to create mirrors, initiate updates, and break and reverse relationships. Using the available capabilities, you can automate almost any SnapMirror operation.&lt;/P&gt;&lt;H3&gt;Tips for Developing Scripts&lt;/H3&gt;&lt;P&gt;Windows PowerShell uses pipelined execution similar to bash for simplified scripting. If you're not already familiar with PowerShell, the first thing you want to do is familiarize yourself with it. A variety of Web resources exist, such as &lt;A class="jive-link-custom" href="http://technet.microsoft.com/en-us/library/dd347730.aspx" target="_blank"&gt;Windows PowerShell Basics&lt;/A&gt; on the Microsoft TechNet Web site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you've got the basics down, you'll want to learn about the capabilities of the NetApp specific cmdlets in the Data ONTAP PowerShell Toolkit. You can see the list of cmdlets by entering the following at the PowerShell command prompt (with the toolkit installed):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-NaHelp&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full details can be viewed by entering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Show-NaHelp&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get help on a specific cmdlet by entering either of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-Help &lt;EM&gt;cmdlet-name&lt;/EM&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-Help&amp;nbsp; &lt;EM&gt;cmdlet-name&lt;/EM&gt; -full&lt;/CODE&gt; (shows full details)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help file for each NetApp cmdlet includes at least one real-usage example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the Data ONTAP PowerShell Toolkit was launched, I posted a lot of "how to" information on various NetApp topics on the &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit?view=all#/?per_page=50" target="_blank"&gt;Toolkit forum&lt;/A&gt;. If you go to the main forum page and search on "HOWTO" or "fjohn" you'll easily locate these posts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The great thing about PowerShell scripts-including those that use the Data ONTAP toolkit-is that you almost never have to start writing from scratch. You almost always can find an existing script to use as a starting point. The following section links to a few resources to help you get started.&lt;/P&gt;&lt;H3&gt;Resources&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-6162" target="_blank"&gt;Presentation on Data ONTAP PowerShell Toolkit&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit?view=all#/?per_page=50" target="_blank"&gt;Data ONTAP PowerShell Toolkit Forum&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit/samples?view=all" target="_blank"&gt;Sample scripts&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit"&gt;Download the toolkit&lt;/A&gt; (free to Data ONTAP customers and partners)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="margin: 0; padding: 10px; background-color: #dedede;"&gt;&lt;IMG src="http://media.netapp.com/designimages/arrow-wrap.gif" /&gt; &lt;STRONG&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/message/41168#41168"&gt;Got opinions about Data ONTAP Powershell Toolkit?&lt;/A&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;Ask questions, exchange ideas, and share your thoughts online in NetApp Communities.&lt;/DIV&gt;&lt;BR /&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" class="author_module" style="width: 100%; border: #f8f4e6 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="author_photo" style="border: 0pt none #f8f4e6; padding: 0 1em 0 0; vertical-align: top;" valign="top"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/8577_john_fullbright_final.jpg" /&gt;&lt;/SPAN&gt;&lt;A id="author" name="author"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="author_info" style="padding: 1em 0 0 0; vertical-align: top; border: 0pt none #f8f4e6;"&gt;&lt;P style="font-family: Arial,Helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: #616365;"&gt;&lt;STRONG&gt;John Fullbright&lt;/STRONG&gt;&lt;BR /&gt;Professional Services Consultant&lt;BR /&gt;NetApp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John is a "resident expert" on Exchange. In 2006, John won a Microsoft Most Valuable Professional Award recognizing his competency in Exchange Server technical communities. Prior to NetApp, John was a rapid response engineer in the Microsoft Global Solutions Support Center. As a member of the Microsoft Rapid On-Site Services team, John was regularly tapped to solve the challenges of premier Microsoft customers. He has also served as an intelligence analyst and IT professional for the U.S. Army.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="border: 0pt none #f8f4e6; margin: 0pt; padding: 0pt;" width="310"&gt;&lt;DIV style="margin-right: 0px; text-align: left;"&gt;&lt;DIV class="explore_heading" style="border-bottom: #c3c3c3 1px solid; border-left: #c3c3c3 4px solid; padding-bottom: 10px; padding-left: 20px; width: 310px; padding-right: 20px; max-width: 310px; background: #c3c3c3; color: #454545; font-size: 18px; font-weight: bold; border-right: #c3c3c3 4px solid; padding-top: 10px;"&gt;Explore&lt;/DIV&gt;&lt;DIV class="sidebar_box" style="border-bottom: #696969 1px solid; min-width: 310px; border-left: #c3c3c3 4px solid; padding-bottom: 10px; margin: 0pt; padding-left: 20px; width: 310px; padding-right: 20px; background: #efefef; border-right: #c3c3c3 4px solid; padding-top: 5px;"&gt;&lt;P&gt;&lt;STRONG&gt;Ready to Get Started?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Download the free Data ONTAP PowerShell Toolkit now (free to Data ONTAP customers and partners), and get started automating NetApp management in your Windows environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="arrow" border="0" src="http://media.netapp.com/designimages/arrow-wrap.gif" /&gt; &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/data_ontap_powershell_toolkit"&gt;More&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="sidebar_box" style="border-bottom: #c3c3c3 4px solid; min-width: 310px; border-left: #c3c3c3 4px solid; padding-bottom: 10px; margin: 0pt; padding-left: 20px; width: 310px; padding-right: 20px; background: #efefef; border-right: #c3c3c3 4px solid; padding-top: 5px;"&gt;&lt;P&gt;&lt;STRONG&gt;Learn More About NetApp Management&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Tech OnTap has devoted a lot of coverage over the years to the NetApp suite of management tools. Check out the following articles to learn more:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://www.netapp.com/us/communities/tech-ontap/tot-sanscreen-0906.html" target="_blank"&gt;Get Your Storage Under Control with SANscreen&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://www.netapp.com/us/communities/tech-ontap/tot-five-reasons-sanscreen-1008.html" target="_blank"&gt;Top Five Reasons to Use SANscreen&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://partners.netapp.com/go/techontap/death_scale.html" target="_blank"&gt;Three Secrets to Avoid Death by Scale&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://partners.netapp.com/go/techontap/matl/monitor-troubleshoot.html" target="_blank"&gt;Monitor and Improve Storage Performance&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-custom" href="http://partners.netapp.com/go/techontap/matl/app_integration.html" target="_blank"&gt;Integrating Apps with Storage&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="sidebar_bottom"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 25 Sep 2010 21:18:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/ta-p/85933</guid>
      <dc:creator>Tech_OnTap</dc:creator>
      <dc:date>2010-09-25T21:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: The Data ONTAP PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/85941#M126</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data ONTAP PowerShell Toolkit version 1.2 has just released, and is available here:&amp;nbsp; &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-6138"&gt;http://communities.netapp.com/docs/DOC-6138&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John Fullbright&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Oct 2010 23:05:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/85941#M126</guid>
      <dc:creator>fjohn</dc:creator>
      <dc:date>2010-10-22T23:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: The Data ONTAP PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/105017#M447</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link to the sample scripts is now broken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an updated location for powershell script samples ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;At your service,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugene E. Kashpureff, Sr.&lt;BR /&gt;Independent NetApp Consultant &lt;A target="_blank" href="http://www.linkedin.com/in/eugenekashpureff"&gt;http://www.linkedin.com/in/eugenekashpureff&lt;/A&gt;&lt;BR /&gt;Senior NetApp Instructor, IT Learning Solutions &lt;A target="_blank" href="http://sg.itls.asia/netapp"&gt;http://sg.itls.asia/netapp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 20:20:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/105017#M447</guid>
      <dc:creator>ekashpureff</dc:creator>
      <dc:date>2015-05-13T20:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: The Data ONTAP PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/111941#M484</link>
      <description>&lt;P&gt;&lt;A href="http://www.theselights.com/2010/07/diagram-your-netapp-volumes-and-luns-in.html" target="_blank"&gt;http://www.theselights.com/2010/07/diagram-your-netapp-volumes-and-luns-in.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 10:37:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/111941#M484</guid>
      <dc:creator>ggray55071036</dc:creator>
      <dc:date>2015-10-29T10:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: The Data ONTAP PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/147344#M593</link>
      <description>&lt;P&gt;Team, do we have a PowerShell poster from our commands like VMware has for it's POSH CMDlet's...&amp;nbsp;&lt;A href="https://blogs.vmware.com/PowerCLI/2018/04/new-release-powercli-poster.html" target="_blank"&gt;https://blogs.vmware.com/PowerCLI/2018/04/new-release-powercli-poster.html ?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 12:41:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/147344#M593</guid>
      <dc:creator>mhofstet</dc:creator>
      <dc:date>2019-03-21T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: The Data ONTAP PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/147778#M594</link>
      <description>&lt;P&gt;Thanks, for sharing this informative thread. I am glad to thank Mr. Teh_onTap for sharing a&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://192-168-1-1ip.info/192-168-0-1/" target="_self"&gt;handy guide&lt;/A&gt; in this forum these guides help me a lot.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 06:49:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Tech-ONTAP-Articles/The-Data-ONTAP-PowerShell-Toolkit/tac-p/147778#M594</guid>
      <dc:creator>sabahsalgado</dc:creator>
      <dc:date>2019-04-25T06:49:33Z</dc:date>
    </item>
  </channel>
</rss>

