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...}

  • 相关阅读:
    TortoiseGit 合并主分支代码.pull request
    MVC EF 修改某些值
    MVC 提交表单
    MVC 统计之 自定义 列表
    MVC 起始页修改 区域
    asp.net C# MVC DropDownList
    asp.net C# MVC 提交表单后清空表单
    Python 线程启动的四种方式
    Git 命令的学习
    Node.js v10.1.0 Documentation
  • 原文地址:https://www.cnblogs.com/chucklu/p/9155270.html
Copyright © 2011-2022 走看看