< Back

Set-ArubaSWDns

Sat Jan 18, 2020 8:39 pm

NAME Set-ArubaSWDns



SYNOPSIS

Set global configuration about DNS





SYNTAX

Set-ArubaSWDns [-mode] <String> [[-server1] <String>] [[-server2] <String>] [[-domain] <String[]>] [[-connection]

<PSObject>] [<CommonParameters>]





DESCRIPTION

Set DNS global parameters





PARAMETERS

-mode <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-server1 <String>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-server2 <String>



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-domain <String[]>



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-connection <PSObject>



Required? false

Position? 5

Default value $DefaultArubaSWConnection

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-ArubaSWDns -mode Manual



Set the DNS mode to manual









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Set-ArubaSWDns -mode DHCP



Set the DNS mode to DHCP









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Set-ArubaSWDns -mode Manual -server1 192.0.2.1 -server2 192.0.2.2 -domain example.org



This set DNS mode to manual with server 1 and server 2 and domain name to example.org









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Set-ArubaSWDns -mode Manual -domain example.org, example.net



This set DNS mode to manual with domain name to example.org and example.net











RELATED LINKS