Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaVfilerNis


NAME
Set-NaVfilerNis

SYNOPSIS
Set NIS info for a vfiler.

SYNTAX
Set-NaVfilerNis [-Name] <String> [-NisDomain] <String> [-NisServerAddresses]
<String[]> [-Controller <NaController>] [-WhatIf] [-Confirm] [<CommonParame
ters>]


DESCRIPTION
Set NIS info for a vfiler.


PARAMETERS
-Name <String>
The name of the vfiler.

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

-NisDomain <String>
The name of the NIS domain.

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

-NisServerAddresses <String[]>
A list of NIS server addresses.

Required? true
Position? 3
Default value
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
NetApp.Ontapi.Filer.Vfiler73.VfilerInfo


NOTES


Category: vfiler
API: vfiler-setup

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

C:\PS>Set-NaVfilerNis vfiler2 testnisdomain.com 10.10.10.12 10.10.10.13


Set the NIS domain of vfiler 'vfiler2' and configure the vfiler to use a pai
r of NIS servers.


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



RELATED LINKS
Get-NaVfiler







 Data ONTAP® PowerShell Toolkit