In the past year, Microsoft quietly issued multiple Windows10 command line tools and free app store programs, which greatly enhances operating system functions. Perhaps these tools are too “professional”, Microsoft does not have a big matter to promote these new tools, many even “strong” users discover themselves.

In this paper, we will focus on the seven “hidden” tools of Windows 10, unlock these tools to make advanced users to add wings, better control Windows 10.

PKTMON network packet sniffer

In Windows updates on October 10, 2018, Microsoft “secret” adds a real-time network traffic monitoring tool called PKTMON, and adds two new features to this tool in Windows10 updates in May 2020.

Windows 10 built-in PKTMON network packet sniffer

In Windows 102004, Microsoft adds two additional features to PKTMON to view the packets sniffed in real time and convert the PKTMON log to PCAPNG support.

Since many network surveillance software (such as Wireshark) supports PCAPNG, PKTMON provides users with more options for analysis logs.

WinGet Suite Administrator

In 2020, Microsoft released the Windows 10 Package Manager WinGet, which allows users to install and manage applications directly from the command line.

To install an application using WinGet, type commands, such as “Winci Search” to search for applications, or type “WinGetInstall” to install the application, as shown below.

Microsoft has created a sorted repository that contains hundreds of applications that can be installed and managed using WinGet.

Windows subsystem (WSL 2) for Linux 2

Windows 10 2004 comes with a new Windows subsystem for Linux 2, which brings higher performance and compatibility with a broader Linux application.

Unlike the first generation of WSL 1, WSL 2 contains a real open source Linux kernel based on Kernel.org version 4.19. WSL2 also supports full access to conventional system calls, improves compatibility with Linux applications, and improves file system performance.

Ubuntu using WSL 2

WSL 2 includes the following features:

Complete Linux kernel Improve file IO performance comprehensive system call compatibility WSL 2 uses less memory when starting

If you are already using WSL, you can use the WSL – set-version command to upgrade the installed Linux release to WSL 2.

Windows file recovery tool

Typically, when you delete the hard disk or the data in the mobile storage medium, we will use a third-party data recovery software (many pay) to recover data. But many Windows users may not know that Windows10 has “native” supports recovery data.

Microsoft has quietly adding a new Windows 10 FileRecovery command line Data Recovery Tool in Windows 10 to let you recover deleted files from your hard drive, USB drive, and SD card.

“Delete files for important tools? Erase your hard drive? Do not determine how to handle damaged data? Windows File Recovery can help you resume personal data for free.”

This tool is a command line executable named Winfr.exe, which is shown below.

By default, Windows File Recovery Tool has three operating modes “default”, “segments”, and “Signature”, each model has its own advantages.

PowerToys: Make your resource manager more powerful

Windows 10 PowerToys is a set of open source tools that allow you to extend the functionality of the file resource manager, optimize the application window for large display, volume adjustment image size, and so on.

Some quite useful PowerTOY features include:

Image Size (Batch) Adjustrator Windows File Explorer’s preview window Replaces Slow Windows Search Modify Keyboard Shortful Batch File Rename Color Selector with the Run-Like Tool

Windows terminal

Windows Terminal is an open source multi-select card console program that allows Windows10 users to launch multiple shell / console tabs in the same Windows. For example, a tab of Windows Terminal can run the PowerShell console, another tab runs the Windows10 command prompt, and there is a tab to run the WSL Ubuntu Shell.

Windows Terminal is a highly customizable, support hyperlink, mouse, desktop background, and mapping keyboard commands.

If you continue to use the command line or other shell, Windows Terminal is a tool you are not missed.

PowerShell 7

Microsoft also released PowerShell 7 with a range of new features, including automatic new version notifications, structured data (such as JSON, CSV, XML), and other improvements.

New features include:

(1) Pipe parallelization command: foreach-object -parallel;

(2) New operator:

Trimer operator: a? ??B: C Pipeline Chain Operator: || and && Null Merge Operator: ?? and ?? =

(3) Simplified dynamic error view and get-error cmdlets can be more easily investigated;

(4) Compatibility layer, enabled users to import modules in Windows PowerShell hide sessions;

(5) New version automatic notification;

(6) Call the DSC resource directly from PowerShell 7 (experimental stage).