1.This PowerShell script lists all running processes where CPU time exceeds 100 seconds. It’s useful for identifying resource-hoging applications on a system.
Get-Process: retrieves a list of all active processes. Where- Object {$_.CPU -gt 100}: Filters the processes to only show those using more than 100 seconds of CPU time.
Get-Process | Where-Object {$_.cpu -gt 100}
2. This script lists all Windows services that are curently stopped. It is useful for identifying services that failed to start or are disabled.
Get-Service | Where-Object { $_.Status -eq 'Stopped'}
3. This PowerShell script retrieves the BIOS version information from your system. Helpful for inventorying, troubleshooting, or confirming firmware updates.
Get-WmiObject -Class Win32_BIOS | Select-Object SMBIOSBIOSVersion, Manufacturer, ReleaseDate
4. Check if a user exists in Active Directory
5. List locked out AD users
6. Force password reset for a user
7. Check installed Ram
8. Check last update install date
9. List installed printers
10. Check disk space
11. Restart a Windows service
12. Find high CPU processes
13. Test internet connection
14. Get IP address of local machine
15. Flush DNS
16. Force check for updates Windows 10+