Practical PowerShell notes by Jeevan Bobba, focused on the everyday work of managing enterprise infrastructure.
Start with a task
- Keep scripts under version control with Git
- Choose a credential-management approach
- Report SMB share permissions
- Export Active Directory users and group memberships
- Check a remote TCP port
How I approach automation
I start with a small, read-only query and inspect its output before adding changes. A useful script should make its inputs clear, produce a report that can be checked, and explain what happens when a command fails.
For scripts that change an environment, define the target explicitly, test with a small sample, and keep a way to recover. Avoid embedding passwords in source files. Review permissions and dependencies before running an example.
Using the archive
These notes span several generations of Windows and PowerShell. An older example can explain an approach without matching a current environment. Check the article date, adapt placeholders, and consult the relevant vendor documentation before use.
Browse all PowerShell articles or send me a question about a specific guide.
