Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 785 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

Win 7-8-2008-2012 : Get-EventLog : The network path was not found. At SomePowershellScript.ps1:1 char:1 [Solved]

This week I had to do some powershell scripting on different servers.

There was one server who reacted not in the same order as the other servers.

 

For example:

Executing the command :

get-eventlog -computername ServerName –list

Returns with the error :

Get-EventLog : The network path was not found.

At line:1 char:13

+ get-eventlog <<<< -computername eurowcs01

+ CategoryInfo : NotSpecified: (:) [Get-EventLog], IOException

+ FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.GetEventLogCommand

 

 

Solution:

Enable the service “Remote Registry” on the destination server

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.