<?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 Error creating vserver subtype dp-destination with PowerShell Toolkit in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Error-creating-vserver-subtype-dp-destination-with-PowerShell-Toolkit/m-p/127559#M27625</link>
    <description>&lt;P&gt;&lt;FONT color="#333399"&gt;I'm trying to script DR vserver creation on a FAS we have at our DR site using the PowerShell Toolkit. When I try and create the vserver using the New-NcVserver command with subtype dp-destination, it prompts me for the root volume information as shown in the first snippet of text below. But then it tells me I can't supply anything other then the vserver name, comment and ipspace. If I supply the root volume information with the command, I get the same error. If I leave the prompts to the root volume information blank as shown in the second snippet, it comes back with a different error. The command appears schizophrenic. Any ideas what I'm doing wrong?&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;PS&amp;gt; New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;cmdlet New-NcVserver at command pipeline position 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Supply values for the following parameters:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;(Type !? for Help.)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolume: dr_01234fs01_root&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeAggregate: aggr1_dd_netapp02_02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeSecurityStyle: NTFS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;New-NcVserver : &lt;FONT color="#FF0000"&gt;Cannot specify options other than Vserver name, comment and ipspace for a Vserver that is being configured as the destination for Vserver DR.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;At line:1 char:1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (netapp02.vcpi.com:NcController) [New-NcVserver], NaUnknownErrnoException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Vserver.NewNcVserver&lt;/FONT&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;&lt;FONT size="2" face="courier new,courier"&gt;PS C:\Users\jking&amp;gt; New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;cmdlet New-NcVserver at command pipeline position 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Supply values for the following parameters:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;(Type !? for Help.)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolume: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeAggregate: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeSecurityStyle: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;New-NcVserver : &lt;FONT color="#FF0000"&gt;Cannot bind argument to parameter 'RootVolume' because it is an empty string.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;At line:1 char:1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidData: (:) [New-NcVserver], ParameterBindingValidationException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,DataONTAP.C.PowerShell.SDK.Cmdlets.Vserver.NewNcVserver&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 15:30:29 GMT</pubDate>
    <dc:creator>MadSANMan</dc:creator>
    <dc:date>2025-06-04T15:30:29Z</dc:date>
    <item>
      <title>Error creating vserver subtype dp-destination with PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Error-creating-vserver-subtype-dp-destination-with-PowerShell-Toolkit/m-p/127559#M27625</link>
      <description>&lt;P&gt;&lt;FONT color="#333399"&gt;I'm trying to script DR vserver creation on a FAS we have at our DR site using the PowerShell Toolkit. When I try and create the vserver using the New-NcVserver command with subtype dp-destination, it prompts me for the root volume information as shown in the first snippet of text below. But then it tells me I can't supply anything other then the vserver name, comment and ipspace. If I supply the root volume information with the command, I get the same error. If I leave the prompts to the root volume information blank as shown in the second snippet, it comes back with a different error. The command appears schizophrenic. Any ideas what I'm doing wrong?&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;PS&amp;gt; New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;cmdlet New-NcVserver at command pipeline position 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Supply values for the following parameters:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;(Type !? for Help.)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolume: dr_01234fs01_root&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeAggregate: aggr1_dd_netapp02_02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeSecurityStyle: NTFS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;New-NcVserver : &lt;FONT color="#FF0000"&gt;Cannot specify options other than Vserver name, comment and ipspace for a Vserver that is being configured as the destination for Vserver DR.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;At line:1 char:1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (netapp02.vcpi.com:NcController) [New-NcVserver], NaUnknownErrnoException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Vserver.NewNcVserver&lt;/FONT&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;&lt;FONT size="2" face="courier new,courier"&gt;PS C:\Users\jking&amp;gt; New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;cmdlet New-NcVserver at command pipeline position 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Supply values for the following parameters:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;(Type !? for Help.)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolume: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeAggregate: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;RootVolumeSecurityStyle: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;New-NcVserver : &lt;FONT color="#FF0000"&gt;Cannot bind argument to parameter 'RootVolume' because it is an empty string.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;At line:1 char:1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ New-NcVserver -Name dr_01234fs01 -Subtype dp-destination&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidData: (:) [New-NcVserver], ParameterBindingValidationException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,DataONTAP.C.PowerShell.SDK.Cmdlets.Vserver.NewNcVserver&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:30:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Error-creating-vserver-subtype-dp-destination-with-PowerShell-Toolkit/m-p/127559#M27625</guid>
      <dc:creator>MadSANMan</dc:creator>
      <dc:date>2025-06-04T15:30:29Z</dc:date>
    </item>
  </channel>
</rss>

