Category Archives: Windows 10

PowerShell tips – part 006.

You can test connectivity with the PowerShell administrator mode by using the next commands:

Let’s start with Test-NetConnection command.
This command displays diagnostic information for a connection.
Depending on the input you can test ping test, TCP test, route tracing, and route selection diagnostics and also get infos about DNS lookup results, a list of IP interfaces, IPsec rules, route/source address selection results.
The next command is Test-WSMan return the WinRM service is running on a local or remote computer.
The last command from my examples is about PSVersion and show us the version of powershell.

Posted in All, Commands, Windows 10. Tagged with , , , .

PowerShell tips – part 005.

This is another tutorial about PowerShell tips and one powershell command: Get-WindowsOptionalFeature .
Start by using the windows key and try to find the powershell by typing : powershell.
When you see it use right-click the Windows PowerShell and select Run As Administrator from the action menu.
This will open the PowerShell command shell.
Use this command to see all information about the status of the optional Windows features: enabled, disabled, or otherwise:

To have a better view you can use this options:

The where state -eq enabled will show us all features are enabled.
The last part us ft is an alias for Format-Table and –a is the partial parameter for autosize .
You can use PowerShell_ISE to start powershell editor , save the new file named: OptionalFeatures.ps1 .
Into this file you can add the command :

The last part is to run like Administrator this powershell script:

Posted in All, Commands, PowerShell, Windows 10. Tagged with , , , , , .

VirtualBox – fix resize space .

If your VirtualBox OS is out of space because you make a small vdi image on disk.
The you can resize this file and fix the problem.
This can be easy done with the next command.

Posted in All, Windows 10. Tagged with , , , , .

MultiBootUSB – the tool for multiple live operating systems.

This tool help you to put multiple boot operating systems into your USB drive.
You can used into your Windows or Linux OS.
This MultiBootUSB tool help you with this tasks:

  • install multiple live Linux distros and other operating systems to a USB disk;
  • make it bootable without erasing existing data;
  • uninstall installed OSes later;
  • write ISO images directly to a USB disk (GUI for Linux dd command);
  • boot ISO images and USB disks directly without rebooting your system using QEMU;
  • boot USB on UEFI/EFI systems through GRUB2 bootloader support (limited support);

What you need to make this working well:

  • One formatted USB disk with :
    • FAT32, NTFS, ext2/3/4 or Btrfs filesystem. However;
    • the FAT filesystem is recommended and ext2/3/4 or Btrfs filesystems will only work under Linux;
    • try to keep single partition (primary) to avoid later problems;
  • Your ISO files of live Linux distros of your choice;
  • the latest release of MultiBootUSB from official website;

The official website come with a good tutorial about how to use it.

Posted in All, Linux, Windows 10. Tagged with , , , , .

Test last Android OS with VirtualBox.

This tutorial lets you learn how to test applications that require the latest Android operating system.
It’s a compromise solution that requires very good hardware or hardware virtualization to run applications easily.
Applications can then be installed through shared cross-emulator solutions and share sharing application and run on the emulator.
The advantage is that you can have applications that require new versions of Android OS and not only.
TO test this I set 3D acceleration and hardware acceleration with 4 core and 2048 RAM and working well, but a bit slower.
This is a screenshot of instalation with Android-x86 7.1 and VirtualBox version 5.1.26 r117224 (Qt5.6.2):

Posted in All, Windows 10. Tagged with , , , .