< Back

Get-TecBoxHostnames

Tue Jan 14, 2020 1:35 am

NAME Get-TecBoxHostnames



SYNOPSIS

Gets the hostnames (and corresponding IP addresses) specified in the hosts file.





SYNTAX

Get-TecBoxHostnames [<CommonParameters>]





DESCRIPTION

The hosts file is used to map hostnames to IP addresses.





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



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



PS C:\\>Get-TecBoxHostNames



Hostname IpAddress

-------- ---------

localhost 127.0.0.1

fabrikam-local 127.0.0.1

www-local.fabrikam.com 127.0.0.1











RELATED LINKS