The network path was not found.

This topic contains 5 replies, has 3 voices, and was last updated by  George Olden 2 years, 1 month ago.

  • Author
  • #24325

    Hem Thapa

    how to solve this problem "Get-EventLog : The network path was not found."

  • #24329

    Don Jones

    Well, you would normally start by providing us the complete command that you ran. It's a little difficult to help you troubleshoot something when we can't see what you're doing.

    But, generally, it means the computer name you asked Get-EventLog to connect to was either not found on the network, or did not accept the connection.

  • #24372

    Hem Thapa

    Can you retrieve event log of windows 8 from windows server 2012 using Windows PowerShell?

  • #24373

    Hem Thapa

    how to enable https listener on windows 8?

  • #40649

    George Olden

    I am looking at a similar issue. I can remote to the computer but I cannot run this command. I'd like to run this on multiple computers to get a list of specific errors from the last day.

    Get-EventLog -LogName application -EntryType error -computername front-01 -Newest 20 -Source 'Application Hang'
    Get-EventLog : The network path was not found.
    At line:1 char:1
    + Get-EventLog -LogName application -EntryType error -computername fron ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Get-EventLog], IOException
    + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.GetEventLogCommand
    PS C:\Users\LICN> etsn front-01
    [front-01]: PS C:\Users\licn.BDC\Documents>

  • #40694

    George Olden

    Had to use invoke-command,

    $sbscomputers = Get-ADComputer -SearchBase 'OU=SBSComputers,OU=Computers,OU=MyBusiness,DC=bdc,DC=local' -Filter * | Select-Object -ExpandProperty name
    Invoke-Command -ComputerName $sbscomputers -ScriptBlock { Get-EventLog -LogName application -EntryType error -newest 2 -Source 'Application Hang'}

You must be logged in to reply to this topic.