Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaCifsNetBiosAlias


NAME
Set-NaCifsNetBiosAlias

SYNOPSIS
Provides a list of NetBIOS alias names for the controller.

SYNTAX
Set-NaCifsNetBiosAlias [-Names] <String[]> [-Controller <NaController>] [-Wh
atIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Provides a list of NetBIOS alias names for the controller. The controller re
places the current list of aliases with with this list. Note that supplying
an empty name list causes the controller to delete all current entries.


PARAMETERS
-Names <String[]>
An array, one entry for each NetBIOS alias.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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



NOTES


Category: cifs
API: cifs-nbalias-names-set

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

C:\PS>Set-NaCifsNetBiosAlias DUNN


Set a single NetBIOS alias, 'DUNN', for the current controller.





-------------- Example 2 --------------

C:\PS>Set-NaCifsNetBiosAlias @()


Removes all net bios aliases.






RELATED LINKS
Get-NaCifsNetBiosAlias







 Data ONTAP® PowerShell Toolkit