Windows PowerShell is a task-based command-line shell and scripting language; it is designed specifically for system administrators and power-users, to rapidly automate the administration of multiple operating systems (Linux, macOS, Unix, and Windows) and the processes related to the applications that run on those operating systems.
Check my article How to Always Run Powershell as an Administrator in Windows 10
List of Top 10 PowerShell windows 10 commands:-
1. List Drives using PowerShell:-
With PowerShell, you are easily able to list drives in your Windows PC, use below command
get-psdrive -psprovider filesystem
2. Generate List of Windows Services using PowerShell:-
You can easily generate a list of Windows Services using PowerShell with below commands
Get-Service | Where Status -eq “Running” | Out-GridView
Get-Service | Where Status -eq “Stopped” | Out-GridView
3. Create a System Image using Powershell:-
You can easily create a System image with below PowerShell Command
wbadmin start backup-backup target: E:-include: C:-quit-allCritical
4. Backup Windows Drivers using PowerShell:-
You can easily backup Windows 10 drivers backup with PowerShell by using the below command
To “view all installed drivers” on your Windows 10 PC.
Get-WindowsDriver -online -All
Now again enter the below command to take the backup.
Export-WindowsDriver -online -Destination E:\DriverBackup
Your command will be the same, only Provide your Drive letter instead of E driver and provide your folder name, whatever you want.
5. Uninstall Universal Apps for Single User Account in Windows 10:-
Use below command to find all package installed in your PC
Get-Appxpackage
and enter below command to remove universal apps
Remove-AppxPackage <PackageFullName> -confirm
6. Generate Disabled Features list in Windows PowerShell:-
To generate a list of the disabled features on your Windows 10 computer, open an elevated PowerShell console, type the following command and hit Enter:
Get-WindowsOptionalFeature -Online | ? state -eq ‘disabled’ | select featurename | sort -Descending
7. Find Windows System Uptime:-
You can easily find out System up-time with PowerShell,
Open the Powershell by search PowerShell in the start menu and enter the below command:-
(get-date) – (gcim Win32_OperatingSystem).LastBootUpTime
8. Check Out Developer Mode is enabled or No:-
Open the Powershell and enter below command
show-windowsdeveloperlicensergistration
9. Reinstall default build-in Windows 10 Apps:-
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
10.Scan for Malware Threats using Powershell:-
if you want to run a quick scan, you’ll use the command:
Start-MpScan -ScanType QuickScan
If you want to run a full scan, you’ll use the command:
Start-MpScan -ScanType FullScan
Video Tutorial:-
We know this tutorial is not enough to cover up Windows 10 Powershell, However, check out our related articles on PowerShell and we recommend you to read Powershell: The Quickstart Beginners Guide and Mastering Windows PowerShell Scripting.
Also Check:-