Categories
HOW TO Microsoft PowerShell

HOW TO enable hyperv isolation in a Virtual Machine inside Hyper-V

Yes, virtualizzation of virtualizzation, this is possible.

The following guide helps to to enable the virtualizzation inside a VM.

Steps:

  • Turn off the VM
  • Open PowerShell as Administrator and run the following commands:
$vmName = 'DEV-VM' 
Set-VMProcessor -VMName $vmName -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName $vmName | Set-VMNetworkAdapter -MacAddressSpoofing On

This can be useful if you want create a BC container in hyperv isolation.

Did my HOW TO help you? Leave a reply.

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.