ping dc command is not working

Welcome Forums General PowerShell Q&A ping dc command is not working

This topic contains 2 replies, has 3 voices, and was last updated by

1 year, 7 months ago.

  • Author
  • #76767

    Points: 0
    Rank: Member
    Reference to above course topic 1 i have typed the program :- ping dc but it did not worked. Can any body know why. Iam running it as an administrator mode

  • #76771

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    I'm guessing you have not used the "ping" command before. It isn't PowerShell, but happy to try and help. I'm guessing you do not have a computer named "DC" on your network. Explains the command.

  • #76774

    Points: 741
    Helping Hand
    Rank: Major Contributor

    Something like "ping" should work. It's very easy to ping with .net as well:

    function ping ($hostname='', $timeout = 500) {
      $Ping = []::new()
      $Ping.Send($hostname, $timeout)
    PS /> ping
    Status        : Success
    Address       :
    RoundtripTime : 13
    Options       : 
    Buffer        : {}

The topic ‘ping dc command is not working’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort