Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: New-NaVfiler


NAME
New-NaVfiler

SYNOPSIS
Create a new vfiler.

SYNTAX
New-NaVfiler [-Name] <String> -Addresses <String[]> -Storage <String[]> [-Ip
space <String>] [-Controller <NaController>] [-WhatIf] [-Confirm] [<CommonPa
rameters>]


DESCRIPTION
Create a new vfiler. The inputs specify a list of storage units, which are
qtree or volume paths.


PARAMETERS
-Name <String>
Name of the vfiler.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Addresses <String[]>
List of IP addresses for the new vfiler.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Storage <String[]>
List of volume or qtree paths to be owned by the new vfiler.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Ipspace <String>
Ipspace of the new vfiler.

Required? false
Position? named
Default value default-ipspace
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.Types.Vfiler.VfilerInfo


NOTES


Category: vfiler
API: vfiler-create

-------------- Example 1 --------------

C:\PS>New-NaVfiler vfiler2 -Addresses 10.10.10.20,10.10.10.21 -Storage testv
ol2


Create a new vfiler 'vfiler2' with two addresses and a single volume.


Name Status Ipspace #Vfnets #Vfstores AdminHost
---- ------ ------- ------- --------- ---------
vfiler2 running default-ipspace 2 1



RELATED LINKS
Get-NaVfiler







 Data ONTAP® PowerShell Toolkit