<?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 Re: CDOT PowerShell toolkit 3.2.1 cmdlets in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105061#M4325</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried creating a new volume but failed with the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/15/2015 8:26:59 AM [116] Monad P:\&amp;gt; New-NcVol -Name TestCDOT -Aggregate a001vi15k01_cha1sanfiler101 -Size 1g -JunctionPath /vol1 -VserverRoot:$true&lt;BR /&gt;New-NcVol :&lt;BR /&gt;===================================================================================&lt;BR /&gt;| &lt;STRONG&gt;This cmdlet must be directed to a data vserver&lt;/STRONG&gt;. You are currently connected |&lt;BR /&gt;| to the cluster admin vserver. See the Toolkit web docs (Show-NcHelp) or online |&lt;BR /&gt;| help (Get-Help Connect-NcController -Examples) to learn more about directing |&lt;BR /&gt;| Toolkit cmdlets to a cluster or data vserver as required by Data ONTAP. |&lt;BR /&gt;===================================================================================&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ New-NcVol -Name TestCDOT -Aggregate a001vi15k01_cha1sanfiler101 -Size ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidArgument: (10.127.135.70:NcController) [New-NcVol], Exception&lt;BR /&gt;+ FullyQualifiedErrorId : NcVserverCmdlet,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.NewNcVol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently we have no data vserver configured in our simulator, does this mean that we cannot create a new volume unless we create a new data vserver?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;5/15/2015 8:27:33 AM [117] Monad P:\&amp;gt; Get-NcVserver&lt;/P&gt;&lt;P&gt;Vserver State VserverType Comment&lt;BR /&gt;------- ----- ----------- -------&lt;BR /&gt;cha1nc101 admin The administrative vserver.&lt;BR /&gt;cha1sanfiler101 node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/12099"&gt;@billyd&lt;/a&gt;. Appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2015 00:30:12 GMT</pubDate>
    <dc:creator>gmf</dc:creator>
    <dc:date>2015-05-15T00:30:12Z</dc:date>
    <item>
      <title>CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/101784#M4186</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NetApp newbie here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the coming month we're going to implement CDOT in our environment, we're currently using the previous version and we have lots of scripts in Orchestrator that uses PowerShell toolkit for provisioning server storage. It's my tasks to review the old scripts we're using and to modify the scripts to adapt it to the new cmdlets introduced in PowerShell toolkit 3.2. I reviewed the documentation and release notes and found out that most of the command have been renamed (actually they set aliases on the psm1 file) to for example Get-Naxxx to Get-Ncxxx. But there are other cmdlets that I cannot find in PowerShell toolkit 3.2.1 like&amp;nbsp;Get-NaSnapmirrorSchedule. while other cmdlets like&amp;nbsp;Get-NaSystemInfo has been renamed to&amp;nbsp;Get-NcNodeInfo in CDOT.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there any particular list of updated cmdlets or cmdlets that have been remove that I can review to be able to find out those old cmdlets that we cannot use when moving our scripts to CDOT? Or do I just need to modify the commands to use xxx-Ncxxx instead of xxx-Naxxx?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:51:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/101784#M4186</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2025-06-05T04:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/101789#M4188</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll need to update your code to work with Clustered DataONTAP. The CmdLet names are *-nc*. This should give you a quick list of what CmdLets you have to work with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;Import-Module DataONTAP&lt;/P&gt;&lt;P&gt;&amp;gt;Get-Command -Module dataontap -Name *-nc* | Where-Object {$_.CommandType -eq "CmdLet"} | Select-Object -Property Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if there isn't an existing CmdLet to perform as a configuration task or query you can always use "Invoke-NcSsh". There are Functional and architecture differences between 7-Mode and cDOT, you will need to thrououghly review and update your code. If you have any trouble converting code to achieve the same results in cDOT as you are currently using on 7-Mode please post the code and i'll take a look.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/matt&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:45:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/101789#M4188</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2015-03-16T08:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/101790#M4189</link>
      <description>&lt;P&gt;Thanks for the quick response Matt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll review the codes in our script and report any cmdlets from 7-mode that do not have same capability in cDOT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:49:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/101790#M4189</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-03-16T08:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103540#M4247</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the equivalent cmdlet for&amp;nbsp;Set-NaSnapshotSchedule on cDOT? Is it&amp;nbsp;Set-NcSnapshotPolicySchedule?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 03:30:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103540#M4247</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-04-22T03:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103558#M4248</link>
      <description>&lt;P&gt;The replacement for set-nasnapshotschedule isn't as straight forward.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Read in volume template to variable $readobj&lt;/P&gt;&lt;P&gt;$readobj = get-ncvol -Template&lt;/P&gt;&lt;P&gt;$readobj.Name = "volume"&lt;/P&gt;&lt;P&gt;$readobj.Vserver = "vserver"&lt;/P&gt;&lt;P&gt;$readobj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;############ Write the volume attributes back&lt;/P&gt;&lt;P&gt;$writeobj=get-ncvol -Template&lt;/P&gt;&lt;P&gt;Initialize-NcObjectProperty $writeobj VolumeSnapshotAttributes&lt;/P&gt;&lt;P&gt;$writeobj.VolumeSnapshotAttributes.SnapshotPolicy=”snapshot_policy”&lt;/P&gt;&lt;P&gt;$writeobj&lt;/P&gt;&lt;P&gt;#Updates the volume in $readobj with the snapshot policy from $writeobj&lt;/P&gt;&lt;P&gt;update-NcVol -query $readobj -Attributes $writeobj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 13:06:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103558#M4248</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2015-04-22T13:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103596#M4249</link>
      <description>&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modified our orchestrator runbook scripts to add support for the cDOT, I replace the 7mode cmdlets with the cDOT counterpart by referencing the Data ONTAP PowerShell toolkit release notes and comparing the 7mode cmdlets with the cDOT cmdlets. I basically replaced the following 7mode cmdlets with the cDOT counterpart, can you please check if there are any cmdlets here that is not a direct replacements when implementing cDOT?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add-NaLunMap &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Add-NcLunMap&lt;BR /&gt;Connect-NaController &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Connect-NcController&lt;BR /&gt;Get-NaSystemInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Get-NcNodeInfo&lt;BR /&gt;Get-NaAggr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Get-NcAggr&lt;BR /&gt;Get-NaVol &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Get-NcVol&lt;BR /&gt;Get-NaLun &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Get-NcLun&lt;BR /&gt;Get-NaQtree &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Get-NcQtree&lt;BR /&gt;Get-NaIgroup &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Get-NcIgroup&lt;BR /&gt;New-NaVol &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New-NcVol&lt;BR /&gt;New-NaQtree &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New-NcQtree&lt;BR /&gt;New-NaLun &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New-NcLun&lt;BR /&gt;Set-NaVolOption &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set-NcVolOption&lt;BR /&gt;Set-NaSnapshotReserve &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set-NcSnapshotReserve&lt;BR /&gt;Set-NaVolAutosize &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set-NcVolAutosize&lt;BR /&gt;Set-NaSnapshotAutodelete &amp;nbsp; &amp;nbsp; Set-NcSnapshotAutodelete&lt;BR /&gt;Set-NaLunComment &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set-NcLunComment&lt;BR /&gt;Set-NaVol &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set-NcVol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 00:24:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103596#M4249</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-04-23T00:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103676#M4252</link>
      <description>&lt;P&gt;You'll need to add the -vserver parameter for each CDOT command.&amp;nbsp; There may be other differences between each individual command.&amp;nbsp; If you don't have access to a CDOT cluster for testing, you may want to look into setting up the CDOT simulator for testing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mysupport.netapp.com/NOW/cgi-bin/simulator" target="_blank"&gt;http://mysupport.netapp.com/NOW/cgi-bin/simulator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:38:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103676#M4252</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2015-04-23T14:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103710#M4256</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We now have a cluster simulator so I can play with it. I'm not the one who created our scripts for 7mode and I don't have advance knowledge regarding NetApp but my PowerShell skills is advance so I can understand what the 7mode scripts are trying to do. With regards to vserver I only find about it when reading the PowerShell toolkit release notes, can you point me to a documentation regarding vserver to be able to find out what it's all about?&lt;BR /&gt;&lt;BR /&gt;Thanks billy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2015 01:21:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103710#M4256</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-04-24T01:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103712#M4257</link>
      <description>&lt;P&gt;Some of the parameters have been renamed like for example in New-NaLun -Type parameter, in CDOT this parameter has been renamed to -OsType. I'm reviewing each 7mode cmdlets including their parameters when replacing it with the CDOT cmdlets counterpart.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2015 01:54:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/103712#M4257</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-04-24T01:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104609#M4300</link>
      <description>&lt;P&gt;The cmdlets I need to replace is &lt;SPAN&gt;Set-NaSnapshotSchedule which is&amp;nbsp;&lt;/SPAN&gt;shown below:&lt;BR /&gt;&lt;BR /&gt;# Snapshot schedule (space delimited cron format, &amp;lt;WeekliesToRetain&amp;gt; &amp;lt;DailiesToRetain&amp;gt; &amp;lt;HourliesToRetain&amp;gt;@&amp;lt;Which,Hours&amp;gt;)&lt;BR /&gt;# Assumes all schedule components are specified&lt;BR /&gt;$SchduleRetainWeeks = $SnapshotSchedule.split(" ")[0]&lt;BR /&gt;$SchduleRetainDays = $SnapshotSchedule.split(" ")[1]&lt;BR /&gt;$SchduleRetainHours = $SnapshotSchedule.split(" ")[2].split("@")[0]&lt;BR /&gt;$SchduleHourlyTimes = $SnapshotSchedule.split("@")[1]&lt;BR /&gt;Set-NaSnapshotSchedule -TargetName $VolumeName -Hours $SchduleRetainHours -Days $SchduleRetainDays -Weeks $SchduleRetainWeeks -WhichHours $SchduleHourlyTimes | Out-Null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On you sample solution, I cannot see where to define the schedule for hours, days and weeks. How can I define that using&amp;nbsp;&lt;SPAN&gt;update-NcVol?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From our CDOT simulator I can query the volume and get the&amp;nbsp;VolumeSnapshotAttributes, but how can I set the SnapshotPolicy property on this and what is the value that the cmdlet is expecting?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5/7/2015 1:58:55 PM [6] Monad P:\&amp;gt; Get-NcVol | select -ExpandProperty VolumeSnapshotAttributes&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AutoSnapshotsEnabled :&lt;BR /&gt;NcController : 10.127.135.70&lt;BR /&gt;SnapdirAccessEnabled : True&lt;BR /&gt;SnapshotCloneDependencyEnabled : False&lt;BR /&gt;SnapshotCount :&lt;BR /&gt;SnapshotPolicy :&lt;BR /&gt;AutoSnapshotsEnabledSpecified : False&lt;BR /&gt;SnapdirAccessEnabledSpecified : True&lt;BR /&gt;SnapshotCloneDependencyEnabledSpecified : True&lt;BR /&gt;SnapshotCountSpecified : False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 06:13:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104609#M4300</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-05-07T06:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104688#M4301</link>
      <description>&lt;P&gt;How can we use Get-NaQuotaEntry&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 12:49:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104688#M4301</guid>
      <dc:creator>Bipin</dc:creator>
      <dc:date>2015-05-07T12:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104694#M4303</link>
      <description>&lt;P&gt;Hello gmf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Snapshots are a bit different in CDOT versus 7-mode.&amp;nbsp; In 7-mode, you have one command which creates the snapshot schedule.&amp;nbsp; In CDOT, it's expanded for more granular scheduling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll need to create a JobSchedule (Get-NcJobCronSchedule/Add-NcJobCronSchedule)&amp;nbsp; Here are the defaults if any of these work for you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; Get-NcJobCronSchedule&lt;/P&gt;&lt;P&gt;JobScheduleName JobScheduleDescription&lt;BR /&gt;--------------- ----------------------&lt;BR /&gt;5min @:00,:05,:10,:15,:20,:25,:30,:35,:40,:45,:50,:55&lt;BR /&gt;8hour @2:15,10:15,18:15&lt;BR /&gt;daily @0:10&lt;BR /&gt;hourly @:05&lt;BR /&gt;weekly Sun@0:15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you create a Snapshot Policy using the schedules created and setting a retention count.&amp;nbsp; Here are the defaults:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; Get-NcSnapshotPolicy&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;default True {hourly (6), daily (2), weekly (2)}&lt;BR /&gt;default-1weekly True {hourly (6), daily (2), weekly (1)}&lt;BR /&gt;none False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the snapshot policy has been created, you can then add it to the volume using the Update-NCVol command to set the policy for the volume.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I want to create a Test schedule using the default cron jobs, use New-NcSnapshotPolicy to create the schedule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; New-NcSnapshotPolicy -name Test -Schedule hourly -count 24 -enabled $true&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;Test True {hourly (24)}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then use Add-NcSnapshotPolicySchedule to add additional schedules to the existing policy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; Add-NcSnapshotPolicySchedule -Name Test -Schedule daily -count 14&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;Test True {hourly (24), daily (14)}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; Add-NcSnapshotPolicySchedule -name Test -Schedule weekly -count 4&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;Test True {hourly (24), daily (14), weekly (4)}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 13:28:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104694#M4303</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2015-05-07T13:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104699#M4304</link>
      <description>&lt;P&gt;Thanks billyd. I appreciate your quick response.&lt;BR /&gt;&lt;BR /&gt;I'll try it using the example you've given and I'll let you know how it goes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 13:58:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104699#M4304</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-05-07T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104747#M4305</link>
      <description>&lt;P&gt;I tried your examples and come up with the following output:&lt;BR /&gt;&lt;BR /&gt;Define snashotschedule based on a value from Initialize data on Orchestrator runbook:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/8/2015 2:19:42 PM [37] Monad P:\&amp;gt; $SnapShotSchedule = '0 2 6@8,12,16,20'&lt;BR /&gt;5/8/2015 2:19:52 PM [38] Monad P:\&amp;gt; $rScheduleRetainWeeks = ($SnapshotSchedule).split(" ")[0]&lt;BR /&gt;5/8/2015 2:20:00 PM [39] Monad P:\&amp;gt; $rScheduleRetainDays = ($SnapshotSchedule).split(" ")[1]&lt;BR /&gt;5/8/2015 2:20:09 PM [40] Monad P:\&amp;gt; $rScheduleRetainHours = ($SnapshotSchedule).split(" ")[2].split("@")[0]&lt;BR /&gt;5/8/2015 2:20:16 PM [41] Monad P:\&amp;gt; $rScheduleHourlyTimes = ($SnapshotSchedule).split("@")[1]&lt;BR /&gt;5/8/2015 2:20:24 PM [42] Monad P:\&amp;gt; Add-NcJobCronSchedule -Name HourlyTimes -Hour $rScheduleHourlyTimes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure why it displays an error when I try to run A&lt;SPAN&gt;Add-NcJobCronSchedule like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/8/2015 2:20:24 PM [42] Monad P:\&amp;gt; Add-NcJobCronSchedule -Name HourlyTimes -Hour $rScheduleHourlyTimes&lt;BR /&gt;Add-NcJobCronSchedule : Invalid value specified for "job-schedule-cron-hour" element within "job-schedule-cron-create": "8121620".&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Add-NcJobCronSchedule -Name HourlyTimes -Hour $rScheduleHourlyTimes&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (10.127.135.70:NcController) [Add-NcJobCronSchedule], EINVALIDINPUTERROR&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Job.AddNcJobCronSchedule&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUt it succeed when I did not use the&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt; $rScheduleHourlyTimes variable&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5/8/2015 2:21:14 PM [44] Monad P:\&amp;gt; Add-NcJobCronSchedule -Name HourlyTimes -Hour 8,12,16,20&lt;/P&gt;&lt;P&gt;JobScheduleName JobScheduleDescription&lt;BR /&gt;--------------- ----------------------&lt;BR /&gt;HourlyTimes @8:00,12:00,16:00,20:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here's for the&amp;nbsp;New-NcSnapshotPolicy (error again because Weekly has a uppercase W). I think the -Schedule parameter arguments expects lowercase value:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5/8/2015 2:25:59 PM [54] Monad P:\&amp;gt; New-NcSnapshotPolicy -Name CDOT -Schedule Weekly -Count 0 -Enabled $true&lt;BR /&gt;New-NcSnapshotPolicy : Schedule Weekly not found.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ New-NcSnapshotPolicy -Name CDOT -Schedule Weekly -Count 0 -Enabled $t ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (10.127.135.70:NcController) [New-NcSnapshotPolicy], EINVALIDINPUTERROR&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.NewNcSnapshotPolicy&lt;/P&gt;&lt;P&gt;5/8/2015 2:26:42 PM [55] Monad P:\&amp;gt; New-NcSnapshotPolicy -Name CDOT -Schedule weekly -Count $rScheduleRetainWeeks -Enabled $true&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;CDOT True {weekly (0)}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5/8/2015 2:28:37 PM [57] Monad P:\&amp;gt; Add-NcSnapshotPolicySchedule -Name CDOT -Schedule daily -Count $rScheduleRetainDays&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;CDOT True {weekly (0), daily (2)}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;5/8/2015 2:28:48 PM [58] Monad P:\&amp;gt; Add-NcSnapshotPolicySchedule -Name CDOT -Schedule hourly -Count $rScheduleRetainHours&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;CDOT True {weekly (0), daily (2), hourly (6)}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After adding all of the above the JobCronSchedule and SnapshotPolicy now looks like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;5/8/2015 2:29:03 PM [59] Monad P:\&amp;gt; Get-NcJobCronSchedule&lt;/P&gt;&lt;P&gt;JobScheduleName JobScheduleDescription&lt;BR /&gt;--------------- ----------------------&lt;BR /&gt;5min @:00,:05,:10,:15,:20,:25,:30,:35,:40,:45,:50,:55&lt;BR /&gt;8hour @2:15,10:15,18:15&lt;BR /&gt;avUpdateSchedule @2:00&lt;BR /&gt;daily @0:10&lt;BR /&gt;hourly @:05&lt;BR /&gt;&lt;STRONG&gt;HourlyTimes @8:00,12:00,16:00,20:00&lt;/STRONG&gt;&lt;BR /&gt;weekly Sun@0:15&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;5/8/2015 2:40:40 PM [60] Monad P:\&amp;gt; Get-NcSnapshotPolicy&lt;/P&gt;&lt;P&gt;Policy Enabled SnapshotPolicySchedules&lt;BR /&gt;------ ------- -----------------------&lt;BR /&gt;&lt;STRONG&gt;CDOT True {weekly (0), daily (2), hourly (6)}&lt;/STRONG&gt;&lt;BR /&gt;default True {hourly (6), daily (2), weekly (2)}&lt;BR /&gt;none False&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;5/8/2015 2:41:17 PM [61] Monad P:\&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which means it succeeded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After the above steps do I need to apply the changes like what you've shown in your earlier response? I mean like this:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;###################################################################################&lt;/P&gt;&lt;P&gt;The replacement for set-nasnapshotschedule isn't as straight forward.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Read in volume template to variable $readobj&lt;/P&gt;&lt;P&gt;$readobj = get-ncvol -Template&lt;/P&gt;&lt;P&gt;$readobj.Name = "volume"&lt;/P&gt;&lt;P&gt;$readobj.Vserver = "vserver"&lt;/P&gt;&lt;P&gt;$readobj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;############ Write the volume attributes back&lt;/P&gt;&lt;P&gt;$writeobj=get-ncvol -Template&lt;/P&gt;&lt;P&gt;Initialize-NcObjectProperty $writeobj VolumeSnapshotAttributes&lt;/P&gt;&lt;P&gt;$writeobj.VolumeSnapshotAttributes.SnapshotPolicy=”snapshot_policy”&lt;/P&gt;&lt;P&gt;$writeobj&lt;/P&gt;&lt;P&gt;#Updates the volume in $readobj with the snapshot policy from $writeobj&lt;/P&gt;&lt;P&gt;update-NcVol -query $readobj -Attributes $writeobj&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Again, thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 07:06:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104747#M4305</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-05-08T07:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104815#M4306</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 7-mode cmdlet that needs to be replaced is:&lt;BR /&gt;&lt;BR /&gt;Set-NaSnapshotSchedule -TargetName $rVolumeName -Hours $rScheduleRetainHours -Days $rScheduleRetainDays -Weeks $rScheduleRetainWeeks -WhichHours $rScheduleHourlyTimes | Out-Null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have come up with the following CDOT cmdlets to replace the above 7-mode command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$SnapShotSchedule = '0 2 6@8,12,16,20'&lt;/P&gt;&lt;P&gt;$rScheduleRetainWeeks = ($Using:LocalParams.SnapshotSchedule).split(" ")[0]&lt;BR /&gt;$rScheduleRetainDays = ($Using:LocalParams.SnapshotSchedule).split(" ")[1]&lt;BR /&gt;$rScheduleRetainHours = ($Using:LocalParams.SnapshotSchedule).split(" ")[2].split("@")[0]&lt;BR /&gt;[int[]]$rScheduleHourlyTimes = ($Using:LocalParams.SnapshotSchedule).split("@")[1].split(",")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Possible CDOT cmdlets replacement for the above command&lt;BR /&gt;Add-NcJobCronSchedule -Name HourlyTimes -Hour $rScheduleHourlyTimes&lt;BR /&gt;New-NcSnapshotPolicy -Name CDOT -Schedule weekly -Count $rScheduleRetainWeeks -Enabled $true&lt;BR /&gt;Add-NcSnapshotPolicySchedule -Name CDOT -Schedule daily -Count $rScheduleRetainDays&lt;BR /&gt;Add-NcSnapshotPolicySchedule -Name CDOT -Schedule hourly -Count $rScheduleRetainHours&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Define Volume template&lt;BR /&gt;$rVolTemplate = Get-NcVol -Template&lt;BR /&gt;$rVolTemplate.Name = $rVolumeName&lt;BR /&gt;$rVolTemplate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Update the volume attributes&lt;BR /&gt;$rUpdateVol = Get-NcVol -Template&lt;BR /&gt;Initialize-NcObjectProperty $rUpdateVol VolumeSnapshotAttributes&lt;BR /&gt;$rUpdateVol.VolumeSnapshotAttributes.SnapshotPolicy="CDOT"&lt;BR /&gt;$rUpdateVol&lt;BR /&gt;Update-NcVol -Query $rVolTemplate -Attributes $rUpdateVol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/11/2015 10:17:44 AM [14] Monad P:\&amp;gt; Update-NcVol -Query $rVolTemplate -Attributes $rUpdateVol -Verbose&lt;BR /&gt;VERBOSE: Modifying one or more volumes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NcController : 10.127.135.70&lt;BR /&gt;SuccessCount : 0&lt;BR /&gt;&lt;STRONG&gt;FailureCount : 1&lt;/STRONG&gt;&lt;BR /&gt;SuccessList : {}&lt;BR /&gt;&lt;STRONG&gt;FailureList : {vol0}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After executing the above commands in our simulator the "VolumeSnapshotAttributes" attribute is still empty, I noticed that the command does not return any error on the PowerShell console but the failure count value is 1. How can find out what the error message is?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 02:24:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104815#M4306</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-05-11T02:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104960#M4311</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/12099"&gt;@billyd&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with my previous inquiry? I tried to update the volume with the new snapshot policy but it seems that &amp;nbsp;the &amp;nbsp;change did not take effect, the output shows a failurecount of 1 and FailureList point to vol0.&lt;BR /&gt;&lt;BR /&gt;NcController : 10.127.135.70&lt;BR /&gt;SuccessCount : 0&lt;BR /&gt;FailureCount : 1&lt;BR /&gt;SuccessList : {}&lt;BR /&gt;FailureList : {vol0}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 06:03:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/104960#M4311</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-05-13T06:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105012#M4320</link>
      <description>&lt;BLOCKQUOTE&gt;I believe you are receiving a failure because the vserver in the template is not defined.&lt;BR /&gt;&lt;BR /&gt;# Define Volume template&lt;BR /&gt;$rVolTemplate = Get-NcVol -Template&lt;BR /&gt;$rVolTemplate.Name = $rVolumeName&lt;BR /&gt;$rVolTemplate&lt;BR /&gt;&lt;BR /&gt;Add the following and define the $rVserverName variable.&lt;BR /&gt;&lt;PRE&gt;$volTemplate.Vserver = $rVserverName&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 13 May 2015 16:59:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105012#M4320</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2015-05-13T16:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105024#M4322</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/12099"&gt;@billyd&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the following vservers in our CDOT simulator:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;5/14/2015 7:53:02 AM [96] Monad P:\&amp;gt; Get-NcVserver&lt;/P&gt;&lt;P&gt;Vserver State VserverType Comment&lt;BR /&gt;------- ----- ----------- -------&lt;BR /&gt;&lt;STRONG&gt;cha1nc101 admin The administrative vserver.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;cha1sanfiler101 node&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I assigned the vserver to this value:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;$rVolTemplate.Vserver="cha1sanfiler101"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5/14/2015 7:39:27 AM [72] Monad P:\&amp;gt; $rVolTemplate&lt;/P&gt;&lt;P&gt;Name State TotalSize Used Available Dedupe Aggregate Vserver&lt;BR /&gt;---- ----- --------- ---- --------- ------ --------- -------&lt;BR /&gt;vol0 cha1sanfiler101&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and try to execute the command again it still failed&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;5/14/2015 7:40:16 AM [77] Monad P:\&amp;gt; Update-NcVol -Query $rVolTemplate -Attributes $rUpdateVol&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NcController : 10.127.135.70&lt;BR /&gt;SuccessCount : 0&lt;BR /&gt;&lt;STRONG&gt;FailureCount : 1&lt;/STRONG&gt;&lt;BR /&gt;SuccessList : {}&lt;BR /&gt;&lt;STRONG&gt;FailureList : {vol0}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting the vserver to another value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/14/2015 7:41:24 AM [79] Monad P:\&amp;gt; &lt;STRONG&gt;$rVolTemplate.Vserver="cha1nc101"&lt;/STRONG&gt;&lt;BR /&gt;5/14/2015 7:41:56 AM [80] Monad P:\&amp;gt; $rVolTemplate&lt;/P&gt;&lt;P&gt;Name State TotalSize Used Available Dedupe Aggregate Vserver&lt;BR /&gt;---- ----- --------- ---- --------- ------ --------- -------&lt;BR /&gt;vol0 cha1nc101&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I execute the command Update-NcVol the SuccessCount and FailureCount value are still 0:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/14/2015 7:42:00 AM [81] Monad P:\&amp;gt; Update-NcVol -Query $rVolTemplate -Attributes $rUpdateVol&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NcController : 10.127.135.70&lt;BR /&gt;&lt;STRONG&gt;SuccessCount : 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FailureCount : 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SuccessList : {}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FailureList : {}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the SnapshotPolicy attribute of the volume still has no value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/14/2015 7:42:19 AM [83] Monad P:\&amp;gt; Get-NcVol vol0 | select -ExpandProperty VolumeSnapshotAttributes&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AutoSnapshotsEnabled :&lt;BR /&gt;NcController : 10.127.135.70&lt;BR /&gt;SnapdirAccessEnabled : True&lt;BR /&gt;SnapshotCloneDependencyEnabled : False&lt;BR /&gt;&lt;STRONG&gt;SnapshotCount :&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SnapshotPolicy :&lt;/STRONG&gt;&lt;BR /&gt;AutoSnapshotsEnabledSpecified : False&lt;BR /&gt;SnapdirAccessEnabledSpecified : True&lt;BR /&gt;SnapshotCloneDependencyEnabledSpecified : True&lt;BR /&gt;SnapshotCountSpecified : False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you advise what might be wrong on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 00:07:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105024#M4322</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-05-14T00:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105043#M4324</link>
      <description>&lt;P&gt;vol0 is probably your node's root volume.&amp;nbsp; You won't be able to set the snapshot policy on node root volumes.&amp;nbsp; Use a volume on your vServer &lt;STRONG&gt;cha1sanfiler101&lt;/STRONG&gt; and it should work.&amp;nbsp; It worked for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$rVolumeName = "dfs_sccm"
$rVserverName = "nas" 

# Define Volume template
$rVolTemplate = Get-NcVol -Template
$rVolTemplate.Name = $rVolumeName
$rVolTemplate.Vserver = $rVserverName
$rVolTemplate

 

# Update the volume attributes
$rUpdateVol = Get-NcVol -Template
Initialize-NcObjectProperty $rUpdateVol VolumeSnapshotAttributes
$rUpdateVol.VolumeSnapshotAttributes.SnapshotPolicy="CDOT"
$rUpdateVol
Update-NcVol -Query $rVolTemplate -Attributes $rUpdateVol



&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NcController : 10.63.123.190&lt;BR /&gt;SuccessCount : 1&lt;BR /&gt;FailureCount : 0&lt;BR /&gt;SuccessList : {dfs_sccm}&lt;BR /&gt;FailureList : {}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(get-ncvol -Vserver nas -name dfs_sccm).VolumeSnapshotAttributes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AutoSnapshotsEnabled : True&lt;BR /&gt;NcController : 10.63.123.190&lt;BR /&gt;SnapdirAccessEnabled : True&lt;BR /&gt;SnapshotCloneDependencyEnabled : False&lt;BR /&gt;&lt;STRONG&gt;SnapshotCount : 11&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SnapshotPolicy : CDOT&lt;/STRONG&gt;&lt;BR /&gt;AutoSnapshotsEnabledSpecified : True&lt;BR /&gt;SnapdirAccessEnabledSpecified : True&lt;BR /&gt;SnapshotCloneDependencyEnabledSpecified : True&lt;BR /&gt;SnapshotCountSpecified : True&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 14 May 2015 13:02:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105043#M4324</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2015-05-14T13:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT PowerShell toolkit 3.2.1 cmdlets</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105061#M4325</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried creating a new volume but failed with the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5/15/2015 8:26:59 AM [116] Monad P:\&amp;gt; New-NcVol -Name TestCDOT -Aggregate a001vi15k01_cha1sanfiler101 -Size 1g -JunctionPath /vol1 -VserverRoot:$true&lt;BR /&gt;New-NcVol :&lt;BR /&gt;===================================================================================&lt;BR /&gt;| &lt;STRONG&gt;This cmdlet must be directed to a data vserver&lt;/STRONG&gt;. You are currently connected |&lt;BR /&gt;| to the cluster admin vserver. See the Toolkit web docs (Show-NcHelp) or online |&lt;BR /&gt;| help (Get-Help Connect-NcController -Examples) to learn more about directing |&lt;BR /&gt;| Toolkit cmdlets to a cluster or data vserver as required by Data ONTAP. |&lt;BR /&gt;===================================================================================&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ New-NcVol -Name TestCDOT -Aggregate a001vi15k01_cha1sanfiler101 -Size ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidArgument: (10.127.135.70:NcController) [New-NcVol], Exception&lt;BR /&gt;+ FullyQualifiedErrorId : NcVserverCmdlet,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.NewNcVol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently we have no data vserver configured in our simulator, does this mean that we cannot create a new volume unless we create a new data vserver?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;5/15/2015 8:27:33 AM [117] Monad P:\&amp;gt; Get-NcVserver&lt;/P&gt;&lt;P&gt;Vserver State VserverType Comment&lt;BR /&gt;------- ----- ----------- -------&lt;BR /&gt;cha1nc101 admin The administrative vserver.&lt;BR /&gt;cha1sanfiler101 node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/12099"&gt;@billyd&lt;/a&gt;. Appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gmf&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2015 00:30:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/CDOT-PowerShell-toolkit-3-2-1-cmdlets/m-p/105061#M4325</guid>
      <dc:creator>gmf</dc:creator>
      <dc:date>2015-05-15T00:30:12Z</dc:date>
    </item>
  </channel>
</rss>

