Android Studio – Create and run a Virtual Device

Android Studio – Create and run a Virtual Device

It is important to have a Virtual Device, maybe more than one. You can run your app without the need for a physical device and you can also test your app in different specifications (screen size/resolution, API etc) Click Tools and then AVD Manager. You will see the following windows: Click Create Virtual Device. Select the category, then a device definition. I chose Nexus 5x. Click Next Click Other Images and select or Download the system image for your device. It is better to choose an armeabi-v7a and with Google…

Android Studio – Create and run a Virtual Device Read More

Windows 10 – Virtual Desktops

Screenshot 20190104 080734

Windows 10 added support for Virtual Desktops. With Virtual Desktops you can have many open applications in separate desktops and keep them open. You can create a virtual desktop by clicking Task View Button and then you click + New desktop Now you can see that you have 2 desktops You can switch desktop by: clicking Task View button and then select the Desktop you want to use. pressing the buttons Windows + Tab and then select the Desktop you want to use. pressing the button Windows + Ctrl + Left or…

Windows 10 – Virtual Desktops Read More

Windows Server 2016 – Hyper-V Add/Remove Virtual Switch

Screenshot 20181106 074718

Open Hyper-V Manager and at the right panel click Virtual Switch Manager. Select what typer of VS you want to create and click Create Virtual Switch. By selecting one of three different types you can see below the “Create Virtual Switch” button, information about this type. Choose a name for the VS. You can also change the type of the VS here. Some information about the 3 three checkboxes: Allow Management… excludes the host OS from the network, but there is access to the VMs Enable Single… the external virtual switch…

Windows Server 2016 – Hyper-V Add/Remove Virtual Switch Read More

Windows Server 2016 – Hyper-V Add/Remove virtual network cards

Screenshot 20181104 112800

You can have up to 8 v network interface cards (vNIC) To add a new vNIC open Hyper-V Manager, select a VM, right-click this VM and select Settings Click at the top Add Hardware, select Network Adapter at the right panel and then click Add. The new vNIC will be added, like the picture below. Now edit Virtual Switch and any other option and click OK. That was all. To remove a vNIC, just select the vNIC and you will find a Remove button, a little bit before the bottom.…

Windows Server 2016 – Hyper-V Add/Remove virtual network cards Read More

Windows Server 2016 – Hyper-V edit virtual disk with PowerShell

Screenshot 20181031 103732

Compact a vhd with optimize-vhd: optimize-vhd -path c:\vm2.vhdx -mode full  #the vhd should not be a fixed vhd More info about optimize-vhd here.   Convert a vhd with convert-vhd: convert-vhd -path c:\vm2.vhdx -destinationpath c:\vm2converted.vhdx -vhdtype fixed # 3 options for vhdtype:Fixed | Dynamic | Differencing. More info about convert-vhd here.   Resize a vhd with resize-vhd: resize-vhd -path c:\vm2.vhdx -sizebytes 10gb # shrink operation is allowed only on VHDX # VHD should not be attached More info about resize-vhd here. Merge a differencing disk into its parent vhd use merge-vhd: merge-vhd -path c:\diffvhd.vhdx -destinationpath c:\vm2.vhdx More…

Windows Server 2016 – Hyper-V edit virtual disk with PowerShell Read More