Powershell Cheatsheet
Windows Server Backup
Section titled “Windows Server Backup”| Command | Action |
|---|---|
Get-WBJob -Previous 1 | Check latest job status |
Networking
Section titled “Networking”| Command | Action |
|---|---|
Test-NetConnection -ComputerName localhost -Port <port_number> | Check if the port is in use |
netstat -ano | findstr :<port_number> | Find the process using that port |