Categories
HOW TO Microsoft PowerShell Windows 10 Windows 7 Windows 8 / 8.1 Windows Server 2008 Windows Server 2012 Windows Server 2016

HOW TO find last time a server has been restarted

To check when a server/VM has been restarted last time is a recurrent task for who works in IT.

Open the Command Prompt or Windows PowerShell and run the following command:

systeminfo 

The result will show the Ststem Boot Time as shown in the following sreenshot

For futher information can be found in the Microsoft Docs.

Did my HOW TO help you? Leave a reply.

Categories
Business Central Docker Dynamics NAV Microsoft Windows Server 2016

hcsshim::ImportLayer – failed failed in Win32: The system cannot find the path specified. (0x3)

While creating a new Docker Container the script stopped with the following error message:

re-exec error: exit status 1: output: hcsshim::ImportLayer – failed failed in Win32: The system cannot find the path specified. (0x3)

Solution:

  1. Open PowerShell ISE as Administrator
  2. Execute the following command to clear the images:
    docker images prune
  3. Execute the following command to clean everything (Images, Containers, Cache and Networks):
    docker system prune

Did my solution solve your problem? Leave a reply.