Monitoring and troubleshooting NAV Services – Using Windows PowerShell to check and search the Application Log
Coffee Break – Monitoring and troubleshooting NAV Services – Using Windows PowerShell to check and search the Application Log
..another very useful post by NAV Team Blog (Jasminka & c.), good for multi server environments.
“Windows PowerShell is very well suited for monitoring services because tasks can be repeated and they can run remotely. In this post we will look at how to check the Application Log via Windows PowerShell, locally as well as remotely, to look for errors or for certain words in the log. The customer story this time is that users report a problem and you need to find the cause. The first place to look (at least in some cases): the Application Log.” ….
Get-WinEvent -ListProvider *nav* | Format-Table
Get-WinEvent -ProviderName “MicrosoftDynamicsNavServer`$DynamicsNAV80”