<?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>topic Use Excel 2013 Flash Fill for Repetitive Tasks in Array Setup and Networking</title>
    <link>https://community.hpe.com/t5/array-setup-and-networking/use-excel-2013-flash-fill-for-repetitive-tasks/m-p/6984871#M1499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently we changed out retention policy on our DataDomain backup systems to free up some space. Unfortunately, the process for deleting the EMC Networker backup sets, called "Save Sets" involves a very tedious command line string - and you have to delete them one at a time. Using Excel 2013, I was able to dump out a column of Save Set IDs that needed to be deleted, and using Flash Fill from Excel 2013 I was able to create a batch file to do the heavy lifting for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The command to delete a single save set and its clone is "nsrmm -dy -S &amp;lt;SaveSetID&amp;gt;/&amp;lt;CloneID&amp;gt;"&lt;/P&gt;&lt;P&gt;2. I export a list of Save Set IDs and associated Clone IDs from Networker into a two column Excel 2013 sheet&lt;/P&gt;&lt;P&gt;3. In the third column, I paste in the command "nsrmm -dy -S" all the way down&lt;/P&gt;&lt;P&gt;4. In the fourth column, I type out the completed command, including the SaveSetID and CloneID from the first two columns of that row (e.g. nsrmm -dy -S 1979008759/1375030088)&lt;/P&gt;&lt;P&gt;5. Now, the magic: when I start typing the complete command in the second row, Excel figures out what I am doing and fills the rest of the rows in the fourth column with the correct commands!&lt;/P&gt;&lt;P&gt;6. From there, save as a batch file and run!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method was used to prune over 5000 save sets from our DataDomain, I don't want to think about how long that would have taken any other way. It can be used for many tasks where a more complex for loop might not be the best solution compared to a simple, repeatable batch file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 19:59:05 GMT</pubDate>
    <dc:creator>sgalbincea137</dc:creator>
    <dc:date>2014-07-23T19:59:05Z</dc:date>
    <item>
      <title>Use Excel 2013 Flash Fill for Repetitive Tasks</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/use-excel-2013-flash-fill-for-repetitive-tasks/m-p/6984871#M1499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently we changed out retention policy on our DataDomain backup systems to free up some space. Unfortunately, the process for deleting the EMC Networker backup sets, called "Save Sets" involves a very tedious command line string - and you have to delete them one at a time. Using Excel 2013, I was able to dump out a column of Save Set IDs that needed to be deleted, and using Flash Fill from Excel 2013 I was able to create a batch file to do the heavy lifting for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The command to delete a single save set and its clone is "nsrmm -dy -S &amp;lt;SaveSetID&amp;gt;/&amp;lt;CloneID&amp;gt;"&lt;/P&gt;&lt;P&gt;2. I export a list of Save Set IDs and associated Clone IDs from Networker into a two column Excel 2013 sheet&lt;/P&gt;&lt;P&gt;3. In the third column, I paste in the command "nsrmm -dy -S" all the way down&lt;/P&gt;&lt;P&gt;4. In the fourth column, I type out the completed command, including the SaveSetID and CloneID from the first two columns of that row (e.g. nsrmm -dy -S 1979008759/1375030088)&lt;/P&gt;&lt;P&gt;5. Now, the magic: when I start typing the complete command in the second row, Excel figures out what I am doing and fills the rest of the rows in the fourth column with the correct commands!&lt;/P&gt;&lt;P&gt;6. From there, save as a batch file and run!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method was used to prune over 5000 save sets from our DataDomain, I don't want to think about how long that would have taken any other way. It can be used for many tasks where a more complex for loop might not be the best solution compared to a simple, repeatable batch file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/use-excel-2013-flash-fill-for-repetitive-tasks/m-p/6984871#M1499</guid>
      <dc:creator>sgalbincea137</dc:creator>
      <dc:date>2014-07-23T19:59:05Z</dc:date>
    </item>
  </channel>
</rss>

