Category Archives: Windows 10

C# – First steps with C# and .NET – part 001 .

First you need to take a look at Microsoft DotNET – Core website..
This website will be the start for any .NET and C# issue on any operating system Linux, Windows, Mac or Docker.
I used for this tutorial Windows OS and for Fedora distro you can take a look here.
First you need to

The result of Hello World! show us the console application works well.
This will run this program:

You can change the text Hello World or test something else.
If you got errors the you need to fix it with :

Posted in All, C#, Commands, Programming, Windows 10. Tagged with , , , , , , , .

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 , , , , .