The network path was not found.

Welcome Forums General PowerShell Q&A The network path was not found.

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

 
Participant
2 years, 9 months ago.

  • Author
    Posts
  • #24325

    Participant
    Points: 0
    Rank: Member

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

  • #24329

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

    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

    Participant
    Points: 0
    Rank: Member

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

  • #24373

    Participant
    Points: 0
    Rank: Member

    how to enable https listener on windows 8?

  • #40649

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

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

The topic ‘The network path was not found.’ is closed to new replies.

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