< Back

Get-FreeNasInterface

Mon Jan 13, 2020 7:45 pm

NAME Get-FreeNasInterface



SYNOPSIS

This function return configuration for you network interface for your FreeNas Server





SYNTAX

Get-FreeNasInterface [<CommonParameters>]





DESCRIPTION

This function return configuration for you network interface for your FreeNas Server





PARAMETERS

<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



NOTES





This command return the network configuration for your FreeNas or TrueNas server



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



PS C:\\>Here an example with DHCP enable :



PS C:\\> Get-FreeNasInterface



Id :

Status :

Alias :

Dhcp :

Name :

Ipv4 :

Netmask :

Ipv6 :









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



PS C:\\>Here an example with Static configuration :



PS C:\\> Get-FreeNasInterface



Id : 1

Status : Active

Alias :

Dhcp : False

Name : le0

Ipv4 : 10.0.10.0

Netmask : 8

Ipv6 : False











RELATED LINKS