
dsquery and dsget in Windows: command-line Active Directory queries
You need to find every disabled user account in the Sales OU, and you are logged on to a Server Core box…
Practical guides for system administrators - Windows, PowerShell, Active Directory, networking, and infrastructure.

You need to find every disabled user account in the Sales OU, and you are logged on to a Server Core box…

The script runs fine from your terminal. You create a scheduled task, it fires at the right time - and produces nothing.…

If you come from Linux, you expect aliases to just work - type alias ll='ls -la', press Enter, done. Windows has the…

netsh (Network Shell) is a command-line scripting utility built into Windows that lets you configure and inspect virtually every aspect of networking…

The server is slow. Users are complaining. You open Task Manager and see CPU sitting at 90% - but Task Manager only…

Every time you run sfc /scannow or DISM /RestoreHealth, Windows writes a detailed record of what it found and what it did…

DISM - Deployment Image Servicing and Management - is the tool you reach for when sfc /scannow reports corrupted files it cannot…

System File Checker - sfc - scans Windows protected system files and replaces damaged or missing ones from a cached copy. It…

Performance Monitor gives you graphs. Get-Counter gives you data - in the terminal, in variables, in CSV files, in scripts that run…

Windows Event Logs accumulate fast. On a busy server, the Application and System logs can hold hundreds of thousands of entries within…