Author Posts

April 16, 2015 at 3:41 am

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

April 16, 2015 at 3:49 am

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.

April 16, 2015 at 2:46 pm

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

April 16, 2015 at 2:48 pm

how to enable https listener on windows 8?

May 27, 2016 at 2:13 pm

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>

May 27, 2016 at 4:44 pm

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