获取本地网络配置状况 Get-NetIPConfiguration

Get-NetIPConfiguration


InterfaceAlias       : Ethernet0
InterfaceIndex       : 11
InterfaceDescription : Intel(R) 82574L Gigabit Network Connection
NetProfile.Name      : hxx.tt
IPv4Address          : 192.168.232.10
IPv6DefaultGateway   :
IPv4DefaultGateway   : 192.168.232.2
DNSServer            : ::1
                       192.168.232.2

获取本地网络配置状况 Get-NetIPConfiguration -Detailed

追加 -Detailed 查询详细

Get-NetIPConfiguration -Detailed


ComputerName                          : DC2022
InterfaceAlias                        : Ethernet0
InterfaceIndex                        : 11
InterfaceDescription                  : Intel(R) 82574L Gigabit Network Connection
NetCompartment.CompartmentId          : 1
NetCompartment.CompartmentDescription : Default Compartment
NetAdapter.LinkLayerAddress           : 00-0C-29-D7-48-DD
NetAdapter.Status                     : Up
NetProfile.Name                       : hxx.tt
NetProfile.NetworkCategory            : DomainAuthenticated
NetProfile.IPv6Connectivity           : NoTraffic
NetProfile.IPv4Connectivity           : Internet
IPv6LinkLocalAddress                  : fe80::31a6:1247:ff33:f4d%11
IPv4Address                           : 192.168.232.10
IPv6DefaultGateway                    :
IPv4DefaultGateway                    : 192.168.232.2
NetIPv6Interface.NlMTU                : 1500
NetIPv4Interface.NlMTU                : 1500
NetIPv6Interface.DHCP                 : Enabled
NetIPv4Interface.DHCP                 : Disabled
DNSServer                             : ::1
                                        192.168.232.2

友情提示:本站所有文章,如无特殊说明或标注,均为何星星原创发布。与此同时,趋于近年来本站的文章内容频繁被他站盗用与机器采集,现已全局禁用网站文字内容操作,了解详情或转载文章请 点此 继续!

0 条评论

发表回复

Avatar placeholder

您的电子邮箱地址不会被公开。 必填项已用*标注