# 100+ Most Useful PowerShell Commands For Windows Users To Boost Productivity ⚡

**URL:** <https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452>\
**Category:** Give-Away and Freebies\
**Tags:** programming, tips-tricks, technology, windows, self-improvement\
**Created:** [September 4, 2025, 9:47pm UTC](https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452 "2025-09-04T21:47:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [September 4, 2025, 9:47pm UTC](https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452/1 "2025-09-04T21:47:24Z")

</div>

### 100+ Most Useful PowerShell Commands For Windows Users To Boost Productivity ⚡

**PowerShell** is a powerful command-line and scripting environment built into Windows. With it, you can **manage your system, automate tasks, troubleshoot issues, and optimize workflows**. This guide lists 100+ essential commands\*\*, covering **System, Files, Networking, and Process management**. it’s a built-in tool every Windows user can leverage to **automate tasks, troubleshoot problems, and boost productivity**.

PowerShell doesn’t stop at basic file and system management. Its **real power** lies in **security tasks, automation, and advanced administration**.

 ![image](https://onehack.st/uploads/default/original/3X/b/0/b07fca1d79409ba316b3e3eda7f92c9d01e6ff24.jpeg)

Use these as your **go-to reference** for everyday operations.

* * *

### ⚡ Safety Reminder

Before executing scripts, **review and verify** them carefully. Malicious code can cause damage. Always use [Microsoft Docs](https://learn.microsoft.com/en-us/powershell/) to double-check syntax and behavior.

* * *

## 🔹 System Management

**1. Restart-Computer** – Restart the PC.

```powershell
Restart-Computer -Force

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/restart-computer)

**2. Stop-Computer** – Shut down the PC.

```powershell
Stop-Computer -Force

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-computer)

**3. Get-ComputerInfo** – Detailed system info.

```powershell
Get-ComputerInfo | Select-Object CsName, WindowsVersion, OsArchitecture

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-computerinfo)

**4. Get-Date** – Display/format date & time.

```powershell
Get-Date -Format "dddd, MMMM dd yyyy HH:mm"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date)

**5. Set-Date** – Change system time.

```powershell
Set-Date -Date "09/05/2025 14:30"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-date)

**6. Get-EventLog** – View system logs.

```powershell
Get-EventLog -LogName System -Newest 20

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-eventlog)

**7. Clear-EventLog** – Delete log entries.

```powershell
Clear-EventLog -LogName Application

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/clear-eventlog)

**8. Get-HotFix** – List installed updates.

```powershell
Get-HotFix | Sort-Object InstalledOn -Descending

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-hotfix)

**9. Get-ExecutionPolicy** – Show script policy.

```powershell
Get-ExecutionPolicy

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-executionpolicy)

**10. Set-ExecutionPolicy** – Change script policy.

```powershell
Set-ExecutionPolicy RemoteSigned

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy)

* * *

## 🔹 Files & Folders

**11. Get-ChildItem (alias dir, ls)** – List files/folders.

```powershell
Get-ChildItem C:\Users -Recurse

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-childitem)

**12. Copy-Item** – Copy files/folders.

```powershell
Copy-Item file.txt C:\Backup\

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item)

**13. Move-Item** – Move/rename files.

```powershell
Move-Item file.txt D:\Archive\file_old.txt

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/move-item)

**14. Remove-Item** – Delete files/folders.

```powershell
Remove-Item file.txt -Force

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/remove-item)

**15. New-Item** – Create new files/folders.

```powershell
New-Item -Path "C:\Test\report.txt" -ItemType File

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-item)

**16. Get-Content** – Show file contents.

```powershell
Get-Content notes.txt | Select-String "error"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-content)

**17. Set-Content** – Overwrite file contents.

```powershell
Set-Content notes.txt "Hello PowerShell!"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-content)

**18. Add-Content** – Append to a file.

```powershell
Add-Content notes.txt "Appended line"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/add-content)

**19. Rename-Item** – Rename a file/folder.

```powershell
Rename-Item old.txt new.txt

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/rename-item)

**20. Get-ItemProperty** – Get file attributes.

```powershell
Get-ItemProperty C:\Test\report.txt

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-itemproperty)

* * *

## 🔹 Networking

**21. Get-NetIPConfiguration** – Network settings.

```powershell
Get-NetIPConfiguration

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/nettcpip/get-netipconfiguration)

**22. Test-Connection** – Ping replacement.

```powershell
Test-Connection google.com -Count 5

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/test-connection)

**23. Get-NetAdapter** – List adapters.

```powershell
Get-NetAdapter | Format-Table Name, Status, MacAddress

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/netadapter/get-netadapter)

**24. Get-NetRoute** – Show routing table.

```powershell
Get-NetRoute

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/nettcpip/get-netroute)

**25. Get-DnsClientCache** – Cached DNS records.

```powershell
Get-DnsClientCache | Select-Object Name, RecordType

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/dnsclient/get-dnsclientcache)

**26. Clear-DnsClientCache** – Flush DNS.

```powershell
Clear-DnsClientCache

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/dnsclient/clear-dnsclientcache)

**27. Get-NetFirewallRule** – Firewall rules.

```powershell
Get-NetFirewallRule | Where-Object {$_.Enabled -eq "True"}

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/netsecurity/get-netfirewallrule)

**28. New-NetFirewallRule** – Add firewall rule.

```powershell
New-NetFirewallRule -DisplayName "Block Edge" -Program "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -Action Block

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/netsecurity/new-netfirewallrule)

**29. Get-NetTCPConnection** – Show TCP connections.

```powershell
Get-NetTCPConnection | Sort-Object -Property LocalPort

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/nettcpip/get-nettcpconnection)

**30. Get-NetIPAddress** – View assigned IPs.

```powershell
Get-NetIPAddress

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/nettcpip/get-netipaddress)

* * *

## 🔹 Process & Service Management

**31. Get-Process** – Running processes.

```powershell
Get-Process | Sort-Object CPU -Descending | Select-Object -First 5 Name, Id, CPU

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-process)

**32. Stop-Process** – Kill processes.

```powershell
Stop-Process -Name notepad -Force

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-process)

**33. Get-Service** – List services.

```powershell
Get-Service | Where-Object {$_.Status -eq "Running"}

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-service)

**34. Stop-Service** – Stop a service.

```powershell
Stop-Service spooler

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-service)

**35. Start-Service** – Start a service.

```powershell
Start-Service spooler

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-service)

**36. Restart-Service** – Restart service.

```powershell
Restart-Service spooler

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/restart-service)

**37. Get-Job** – View background jobs.

```powershell
Get-Job

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/get-job)

**38. Start-Job** – Run jobs in background.

```powershell
Start-Job { Get-Process | Where-Object CPU }

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/start-job)

**39. Receive-Job** – Retrieve job output.

```powershell
Receive-Job -Id 1

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/receive-job)

**40. Remove-Job** – Delete jobs.

```powershell
Remove-Job -Id 1

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/remove-job)

**41. Get-ScheduledTask** – List scheduled tasks.

```powershell
Get-ScheduledTask | Select-Object TaskName, State

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/scheduledtasks/get-scheduledtask)

**42. Register-ScheduledTask** – Create scheduled task.

```powershell
$Action = New-ScheduledTaskAction -Execute "notepad.exe"
$Trigger = New-ScheduledTaskTrigger -At 3pm -Daily
Register-ScheduledTask -Action $Action -Trigger $Trigger -TaskName "Open Notepad"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/scheduledtasks/register-scheduledtask)

**43. Unregister-ScheduledTask** – Delete tasks.

```powershell
Unregister-ScheduledTask -TaskName "Open Notepad" -Confirm:$false

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/scheduledtasks/unregister-scheduledtask)

**44. Get-Clipboard** – Read clipboard text.

```powershell
Get-Clipboard

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-clipboard)

**45. Set-Clipboard** – Write text to clipboard.

```powershell
"Hello PowerShell" | Set-Clipboard

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-clipboard)

**46. Measure-Object** – Measure data (count, sum).

```powershell
Get-ChildItem C:\Windows | Measure-Object

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/measure-object)

**47. Compare-Object** – Compare two data sets.

```powershell
Compare-Object (Get-Content file1.txt) (Get-Content file2.txt)

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/compare-object)

**48. Select-Object** – Choose specific fields.

```powershell
Get-Process | Select-Object Name, Id, CPU

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/select-object)

**49. Sort-Object** – Sort results.

```powershell
Get-Process | Sort-Object CPU -Descending

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/sort-object)

**50. Group-Object** – Group data.

```powershell
Get-Process | Group-Object ProcessName

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/group-object)

* * *

Perfect ✅ Let’s continue with **Part 2 (Commands 51–100+)** of the _Ultimate 100+ PowerShell Commands Guide_.  
This section covers **User & Security, Productivity, Scripting & Automation, and Advanced Administration** — with **multi-line examples** for pipelines and automation.

* * *

## 🔹 User & Security

**51. Get-LocalUser** – List local accounts.

```powershell
Get-LocalUser

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/get-localuser)

**52. New-LocalUser** – Create a new account.

```powershell
New-LocalUser "TestUser" -Password (Read-Host -AsSecureString "Enter Password")

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/new-localuser)

**53. Disable-LocalUser** – Disable account.

```powershell
Disable-LocalUser -Name "TestUser"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/disable-localuser)

**54. Enable-LocalUser** – Enable account.

```powershell
Enable-LocalUser -Name "TestUser"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/enable-localuser)

**55. Get-LocalGroup** – Show groups.

```powershell
Get-LocalGroup

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/get-localgroup)

**56. Add-LocalGroupMember** – Add user to group.

```powershell
Add-LocalGroupMember -Group "Administrators" -Member "TestUser"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/add-localgroupmember)

**57. Remove-LocalGroupMember** – Remove user.

```powershell
Remove-LocalGroupMember -Group "Administrators" -Member "TestUser"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/remove-localgroupmember)

**58. Get-Acl** – View file/folder permissions.

```powershell
Get-Acl C:\Test | Format-List

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-acl)

**59. Set-Acl** – Change permissions.

```powershell
$acl = Get-Acl C:\Test
Set-Acl C:\Test $acl

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-acl)

**60. ConvertTo-SecureString** – Secure passwords.

```powershell
"mypassword" | ConvertTo-SecureString -AsPlainText -Force

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/convertto-securestring)

* * *

## 🔹 Productivity & Utilities

**61. Get-History** – Show past commands.

```powershell
Get-History

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/get-history)

**62. Invoke-History** – Re-run commands.

```powershell
Invoke-History 5

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-history)

**63. Clear-History** – Wipe history.

```powershell
Clear-History

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/clear-history)

**64. Out-File** – Write output to file.

```powershell
Get-Process | Out-File processes.txt

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/out-file)

**65. Export-Csv** – Export structured data.

```powershell
Get-Service | Export-Csv services.csv -NoTypeInformation

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/export-csv)

**66. Import-Csv** – Read CSV data.

```powershell
Import-Csv services.csv | Format-Table

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/import-csv)

**67. ConvertTo-Json** – Convert objects to JSON.

```powershell
Get-Process | Select-Object -First 3 | ConvertTo-Json

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertto-json)

**68. ConvertFrom-Json** – Parse JSON data.

```powershell
'{ "Name": "TestApp", "Version": "1.0" }' | ConvertFrom-Json

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertfrom-json)

**69. Start-Transcript** – Record session.

```powershell
Start-Transcript -Path session.txt

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.host/start-transcript)

**70. Stop-Transcript** – End recording.

```powershell
Stop-Transcript

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.host/stop-transcript)

* * *

## 🔹 Scripting & Automation

**71. ForEach-Object** – Loop through items.

```powershell
Get-Process | ForEach-Object { "$($_.Name) is using $($_.CPU) CPU" }

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/foreach-object)

**72. Where-Object** – Filter objects.

```powershell
Get-Service | Where-Object {$_.Status -eq "Running"}

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/where-object)

**73. Pipeline Example (Multi-line)** – Chain commands.

```powershell
Get-ChildItem C:\Logs -Recurse |
Where-Object { $_.Extension -eq ".txt" } |
Select-Object FullName, Length |
Sort-Object Length -Descending |
Out-File LargestLogs.txt

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/06-pipelines)

**74. Try/Catch** – Error handling.

```powershell
Try {
    Get-Content missingfile.txt
} Catch {
    Write-Output "File not found!"
}

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-exceptions)

**75. Start-Sleep** – Pause script.

```powershell
Start-Sleep -Seconds 10

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/start-sleep)

**76. Invoke-Command** – Run command remotely.

```powershell
Invoke-Command -ComputerName Server01 -ScriptBlock { Get-Process }

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-command)

**77. New-PSSession** – Create remote session.

```powershell
New-PSSession -ComputerName Server01

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssession)

**78. Enter-PSSession** – Connect to remote system.

```powershell
Enter-PSSession -ComputerName Server01

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enter-pssession)

**79. Exit-PSSession** – Leave remote session.

```powershell
Exit-PSSession

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/exit-pssession)

**80. Remove-PSSession** – Close sessions.

```powershell
Get-PSSession | Remove-PSSession

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/remove-pssession)

* * *

## 🔹 Advanced Administration

**81. Get-WmiObject** – Access system info.

```powershell
Get-WmiObject Win32_OperatingSystem | Select-Object Caption, OSArchitecture

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-wmiobject)

**82. Get-CimInstance** – Modern WMI replacement.

```powershell
Get-CimInstance Win32_Processor | Select-Object Name, NumberOfCores

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/cimcmdlets/get-ciminstance)

**83. Invoke-WebRequest** – Download web content.

```powershell
Invoke-WebRequest "https://example.com/file.zip" -OutFile "file.zip"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest)

**84. Invoke-RestMethod** – API calls.

```powershell
Invoke-RestMethod "https://api.github.com/repos/microsoft/powershell" | Select-Object name, stargazers_count

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod)

**85. Compress-Archive** – Zip files.

```powershell
Compress-Archive -Path C:\Test\* -DestinationPath C:\Backup\archive.zip

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.archive/compress-archive)

**86. Expand-Archive** – Extract files.

```powershell
Expand-Archive -Path archive.zip -DestinationPath C:\Test

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.archive/expand-archive)

**87. Get-Disk** – List storage devices.

```powershell
Get-Disk | Format-Table Number, FriendlyName, Size

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/storage/get-disk)

**88. Get-Partition** – Show partitions.

```powershell
Get-Partition

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/storage/get-partition)

**89. Get-Volume** – View drives.

```powershell
Get-Volume | Select-Object DriveLetter, FileSystemLabel, SizeRemaining

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/storage/get-volume)

**90. Format-Volume** – Format drive.

```powershell
Format-Volume -DriveLetter E -FileSystem NTFS -Confirm:$false

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/storage/format-volume)

**91. Mount-DiskImage** – Mount ISO/VHD.

```powershell
Mount-DiskImage -ImagePath "C:\ISO\Windows.iso"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/storage/mount-diskimage)

**92. Dismount-DiskImage** – Unmount ISO/VHD.

```powershell
Dismount-DiskImage -ImagePath "C:\ISO\Windows.iso"

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/storage/dismount-diskimage)

**93. Get-ProcessMitigation** – Security protections.

```powershell
Get-ProcessMitigation -Name notepad.exe

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/processmitigations/get-processmitigation)

**94. Set-ProcessMitigation** – Configure protections.

```powershell
Set-ProcessMitigation -Name notepad.exe -Enable DEP, ASLR

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/processmitigations/set-processmitigation)

**95. Get-WindowsFeature** – Installed Windows features.

```powershell
Get-WindowsFeature | Where-Object {$_.Installed -eq $true}

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/servermanager/get-windowsfeature)

**96. Install-WindowsFeature** – Add feature.

```powershell
Install-WindowsFeature -Name Web-Server

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/servermanager/install-windowsfeature)

**97. Remove-WindowsFeature** – Remove feature.

```powershell
Remove-WindowsFeature -Name Web-Server

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/servermanager/remove-windowsfeature)

**98. Get-Module** – List modules.

```powershell
Get-Module -ListAvailable

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/get-module)

**99. Import-Module** – Load module.

```powershell
Import-Module ActiveDirectory

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/import-module)

**100. Find-Module** – Search PowerShell Gallery.

```powershell
Find-Module -Name Az

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/powershellget/find-module)

**101. Install-Module** – Install module.

```powershell
Install-Module -Name Az -Scope CurrentUser

```

🔗 [Docs](https://learn.microsoft.com/en-us/powershell/module/powershellget/install-module)

* * *

### 🚀 Final Note

With these **100+ commands** , you now have a **complete reference** for PowerShell:

- Part 1 (1–50): System, Files, Networking, Processes
- Part 2 (51–100+): Security, Productivity, Automation, Advanced Admin

This collection equips you to **manage, automate, and optimize Windows** like a pro.

## ENJOY & HAPPY LEARNING! ❤

---

<div class="post-metadata">

**Author:** ![leejiacheng1](https://onehack.st/user_avatar/onehack.st/leejiacheng1/32/94426_2.png) [@leejiacheng1](https://onehack.st/u/leejiacheng1)\
**Post date:** [September 4, 2025, 10:04pm UTC](https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452/2 "2025-09-04T22:04:37Z")

</div>

Thanks for these compilation 👍

---

<div class="post-metadata">

**Author:** ![Riski\_Irawan](https://onehack.st/user_avatar/onehack.st/riski_irawan/32/159423_2.png) [@Riski\_Irawan](https://onehack.st/u/Riski_Irawan)\
**Post date:** [September 4, 2025, 11:40pm UTC](https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452/3 "2025-09-04T23:40:11Z")

</div>

Thanks for these compilations. Very helpful and useful.

---

<div class="post-metadata">

**Author:** ![Rehan\_Sharif](https://onehack.st/user_avatar/onehack.st/rehan_sharif/32/154277_2.png) [@Rehan\_Sharif](https://onehack.st/u/Rehan_Sharif)\
**Post date:** [September 5, 2025, 5:51pm UTC](https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452/4 "2025-09-05T17:51:01Z")

</div>

ur grat sammmmmmmmmmmmmmm

---

<div class="post-metadata">

**Author:** ![Keke\_Bija](https://onehack.st/user_avatar/onehack.st/keke_bija/32/37186_2.png) [@Keke\_Bija](https://onehack.st/u/Keke_Bija)\
**Post date:** [September 7, 2025, 3:57am UTC](https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452/5 "2025-09-07T03:57:21Z")

</div>

Thanks for this @Aina

---

<div class="post-metadata">

**Author:** ![Zaheer\_Ahmed](https://onehack.st/user_avatar/onehack.st/zaheer_ahmed/32/138741_2.png) [@Zaheer\_Ahmed](https://onehack.st/u/Zaheer_Ahmed)\
**Post date:** [September 7, 2025, 11:44am UTC](https://onehack.st/t/100-most-useful-powershell-commands-for-windows-users-to-boost-productivity/310452/6 "2025-09-07T11:44:21Z")

</div>

Great. thank you
