zoukankan      html  css  js  c++  java
  • GeHost powershell

    PS C:UserscluDesktop> [System.Net.Dns] | Get-Member -Static | Format-Table -AutoSize


    TypeName: System.Net.Dns

    Name MemberType Definition
    ---- ---------- ----------
    BeginGetHostAddresses Method static System.IAsyncResult BeginGetHostAddresses(string hostNameOrAddress, System.AsyncCallback requestCallback, System.Object state)
    BeginGetHostByName Method static System.IAsyncResult BeginGetHostByName(string hostName, System.AsyncCallback requestCallback, System.Object stateObject)
    BeginGetHostEntry Method static System.IAsyncResult BeginGetHostEntry(string hostNameOrAddress, System.AsyncCallback requestCallback, System.Object stateObject), static System.IAsyncResult BeginGetHostEntry(ipaddress address,...
    BeginResolve Method static System.IAsyncResult BeginResolve(string hostName, System.AsyncCallback requestCallback, System.Object stateObject)
    EndGetHostAddresses Method static ipaddress[] EndGetHostAddresses(System.IAsyncResult asyncResult)
    EndGetHostByName Method static System.Net.IPHostEntry EndGetHostByName(System.IAsyncResult asyncResult)
    EndGetHostEntry Method static System.Net.IPHostEntry EndGetHostEntry(System.IAsyncResult asyncResult)
    EndResolve Method static System.Net.IPHostEntry EndResolve(System.IAsyncResult asyncResult)
    Equals Method static bool Equals(System.Object objA, System.Object objB)
    GetHostAddresses Method static ipaddress[] GetHostAddresses(string hostNameOrAddress)
    GetHostAddressesAsync Method static System.Threading.Tasks.Task[ipaddress[]] GetHostAddressesAsync(string hostNameOrAddress)
    GetHostByAddress Method static System.Net.IPHostEntry GetHostByAddress(string address), static System.Net.IPHostEntry GetHostByAddress(ipaddress address)
    GetHostByName Method static System.Net.IPHostEntry GetHostByName(string hostName)
    GetHostEntry Method static System.Net.IPHostEntry GetHostEntry(string hostNameOrAddress), static System.Net.IPHostEntry GetHostEntry(ipaddress address)
    GetHostEntryAsync Method static System.Threading.Tasks.Task[System.Net.IPHostEntry] GetHostEntryAsync(ipaddress address), static System.Threading.Tasks.Task[System.Net.IPHostEntry] GetHostEntryAsync(string hostNameOrAddress)
    GetHostName Method static string GetHostName()
    ReferenceEquals Method static bool ReferenceEquals(System.Object objA, System.Object objB)
    Resolve Method static System.Net.IPHostEntry Resolve(string hostName)

    PS C:UserscluDesktop> [System.Net.Dns]::GetHostByName($env:computerName) | Format-Table -AutoSize

    HostName Aliases AddressList
    -------- ------- -----------
    WASYGSHA01-1020.asnet.***.net {} {fe80::8557:8e2d:f82d:ab5a%20, fe80::7922:28de:e198:4b9a%14, fe80::6137:72f0:d7a9:2868%3, 172.31.212.20...}


    PS C:UserscluDesktop> [System.Net.Dns]::GetHostByAddress("172.31.212.20") | Format-Table -AutoSize

    HostName Aliases AddressList
    -------- ------- -----------
    WASYGSHA01-1020.asnet.***.net {} {fe80::8557:8e2d:f82d:ab5a%20, fe80::7922:28de:e198:4b9a%14, fe80::6137:72f0:d7a9:2868%3, 172.31.212.20...}

  • 相关阅读:
    软件体系结构:二维分层、模块化和开放平台
    Unity手游之路<七>角色控制器
    Unity手游之路<四>3d旋转-四元数,欧拉角和变幻矩阵
    Unity手游之路<三> 基于Unity+Java的聊天室源码
    Unity手游之路<二>Java版服务端使用protostuff简化protobuf开发
    Unity手游之路<一>C#版本Protobuf
    Unity手游之路<八>自动寻路Navmesh之入门
    Unity手游之路<九>自动寻路Navmesh之高级主题
    Unity手游之路<十>自动寻路Navmesh之跳跃,攀爬,斜坡
    raise EnvironmentError("%s not found" % (mysql_config.path,)) EnvironmentError: mysql_config not found 解决办法
  • 原文地址:https://www.cnblogs.com/chucklu/p/9155270.html
Copyright © 2011-2022 走看看