Skip to content

PowerShell Tips

Commands Tips

PowerShell Regular Expressions: Named Capture Groups
─□✕
PowerShell Regular Expressions: Named Capture Groups
April 11, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Regular Expressions: Named Capture Groups

Named capture groups make regex results readable. Learn to define (?) groups in PowerShell and access captures by name in $Matches.

Strings and Text
Get-Content readme.md
PowerShell SecureString: Store Passwords Safely in Scripts
─□✕
PowerShell SecureString: Store Passwords Safely in Scripts
April 11, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell SecureString: Store Passwords Safely in Scripts

Never store passwords as plain text in scripts. Learn SecureString, PSCredential, and encrypted password file patterns for secure automation.

Variables and Data Types
Get-Content readme.md
PowerShell Get-Date: Work with Dates and Times
─□✕
PowerShell Get-Date: Work with Dates and Times
April 10, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Get-Date: Work with Dates and Times

Get-Date provides the current date and time in PowerShell. Learn to format, add days, compare dates, and use DateTime in scripts.

Variables and Data Types
Get-Content readme.md
PowerShell HTML Report: Build Styled Reports with CSS
─□✕
PowerShell HTML Report: Build Styled Reports with CSS
April 10, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell HTML Report: Build Styled Reports with CSS

Generate professional HTML reports from PowerShell data using ConvertTo-Html and inline CSS. Build color-coded tables and multi-section dashboards.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell Excel Automation with ImportExcel Module
─□✕
PowerShell Excel Automation with ImportExcel Module
April 9, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Excel Automation with ImportExcel Module

The ImportExcel module lets PowerShell create full Excel files without Excel installed. Learn to build formatted reports with tables and charts.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell File Sync Script: Keep Two Folders in Sync
─□✕
PowerShell File Sync Script: Keep Two Folders in Sync
April 9, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell File Sync Script: Keep Two Folders in Sync

Keep two folders synchronized with a PowerShell script. Use Robocopy for one-way or two-way sync with logging and change detection.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell Software Inventory: List Installed Apps on Windows
─□✕
PowerShell Software Inventory: List Installed Apps on Windows
April 8, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Software Inventory: List Installed Apps on Windows

Inventory installed software across Windows machines with PowerShell. Query the registry and CIM to list all apps with version and publisher info.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell Active Directory Audit Report Script
─□✕
PowerShell Active Directory Audit Report Script
April 8, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell Active Directory Audit Report Script

Automate your AD security audit with PowerShell. Report privileged group members, stale accounts, password settings, and expiring passwords.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell Uptime Report: Check Last Boot Time of Servers
─□✕
PowerShell Uptime Report: Check Last Boot Time of Servers
April 7, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Uptime Report: Check Last Boot Time of Servers

Check when servers last rebooted with PowerShell. Build a multi-server uptime report to identify unexpected restarts and patch compliance.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell Password Generator: Create Secure Random Passwords
─□✕
PowerShell Password Generator: Create Secure Random Passwords
April 7, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Password Generator: Create Secure Random Passwords

Generate cryptographically secure random passwords in PowerShell for user provisioning and automation. Learn complexity rules and SecureString output.

Useful Scripts and Recipes
Get-Content readme.md
« prev1…1112131415…27next »

Recent Posts

  • PowerShell DNS Record Audit: Export All Zone Records to CSV
  • PowerShell Script: Automated User Offboarding Checklist
  • PowerShell Active Directory Replication Status Check Script
  • PowerShell Error Handling: Terminating vs Non-Terminating Errors
  • PowerShell Windows Update Management Across Multiple Servers

Recent Comments

No comments to show.

Archives

  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026

Categories

  • Active Directory and Users
  • Advanced
  • Basics
  • Cloud and Microsoft 365
  • Error Handling
  • Files and Folders
  • Functions and Modules
  • Getting Started
  • Loops and Conditions
  • Networking
  • Pipeline and Filtering
  • Process and Service Management
  • Scripting
  • Strings and Text
  • System Administration
  • Useful Scripts and Recipes
  • Variables and Data Types
PS C:\> Get-Copyright 2026 PowerShell Tips | Command In Line
FlipAnimation app icon
Hand-draw your next README GIF
FlipAnimation turns your phone into an animation studio · GIF + MP4 export
App Store Google Play
Sponsored