Skip to content

PowerShell Tips

Commands Tips

PowerShell Pipeline: Where-Object vs .Where() Method Performance
─□✕
PowerShell Pipeline: Where-Object vs .Where() Method Performance
June 15, 2026 PowerShell Tips Editor 5 min read

PowerShell Pipeline: Where-Object vs .Where() Method Performance

The .Where() method on collections is significantly faster than Where-Object for in-memory arrays. This post benchmarks both and shows when to switch for real performance gains.

Pipeline and Filtering
Get-Content readme.md
PowerShell Invoke-Command Patterns for Fleet Management
─□✕
PowerShell Invoke-Command Patterns for Fleet Management
June 14, 2026 PowerShell Tips Editor 5 min read

PowerShell Invoke-Command Patterns for Fleet Management

Invoke-Command is the backbone of PowerShell fleet management. Parallel execution, session reuse, and error isolation patterns make it viable for managing hundreds of servers at

System Administration
Get-Content readme.md
PowerShell Microsoft Graph: Audit MFA Status for All Users
─□✕
PowerShell Microsoft Graph: Audit MFA Status for All Users
June 13, 2026 PowerShell Tips Editor 4 min read

PowerShell Microsoft Graph: Audit MFA Status for All Users

Knowing which accounts lack MFA is a security baseline requirement. The Graph SDK’s authentication methods API returns registration details for every user in your tenant.

Cloud and Microsoft 365
Get-Content readme.md
PowerShell NTFS Permission Audit: Find Broken Inheritance
─□✕
PowerShell NTFS Permission Audit: Find Broken Inheritance
June 12, 2026 PowerShell Tips Editor 4 min read

PowerShell NTFS Permission Audit: Find Broken Inheritance

Explicit ACEs and broken inheritance create permission sprawl that no one audits until an incident. This script scans a share, flags breaks, and exports a risk-ranked report.

Files and Folders
Get-Content readme.md
PowerShell IIS Log Parser: Analyze Web Traffic Patterns
─□✕
PowerShell IIS Log Parser: Analyze Web Traffic Patterns
June 11, 2026 PowerShell Tips Editor 5 min read

PowerShell IIS Log Parser: Analyze Web Traffic Patterns

IIS logs contain a wealth of performance and security data. This script parses W3C format logs, aggregates top pages, slow responses, and 4xx/5xx error rates in minutes.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell Hyper-V VM Health Check and Auto-Report Script
─□✕
PowerShell Hyper-V VM Health Check and Auto-Report Script
June 10, 2026 PowerShell Tips Editor 5 min read

PowerShell Hyper-V VM Health Check and Auto-Report Script

Manually checking Hyper-V VM health in Hyper-V Manager does not scale. This script queries every VM on one or more hosts and builds a color-coded HTML health dashboard.

Process and Service Management
Get-Content readme.md
PowerShell Custom Error Classes and Structured Exception Handling
─□✕
PowerShell Custom Error Classes and Structured Exception Handling
June 9, 2026 PowerShell Tips Editor 5 min read

PowerShell Custom Error Classes and Structured Exception Handling

Throwing generic strings as errors makes debugging painful. Custom exception classes with typed properties let callers catch specific errors and extract structured failure

Error Handling
Get-Content readme.md
PowerShell Script: Automate SSL Certificate Renewal Checks
─□✕
PowerShell Script: Automate SSL Certificate Renewal Checks
June 8, 2026 PowerShell Tips Editor 5 min read

PowerShell Script: Automate SSL Certificate Renewal Checks

Expired SSL certificates cause outages. This script probes a list of URLs, extracts certificate expiry dates, and sends tiered alerts at 30-day and 7-day intervals before expiry.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell Windows Event Forwarding Setup via Script
─□✕
PowerShell Windows Event Forwarding Setup via Script
June 7, 2026 PowerShell Tips Editor 6 min read

PowerShell Windows Event Forwarding Setup via Script

Centralizing Windows event logs without a SIEM is possible with Windows Event Forwarding. This guide configures both the collector and sources entirely through PowerShell

System Administration
Get-Content readme.md
PowerShell Splatting: Advanced Patterns for Cleaner Scripts
─□✕
PowerShell Splatting: Advanced Patterns for Cleaner Scripts
June 6, 2026 PowerShell Tips Editor 5 min read

PowerShell Splatting: Advanced Patterns for Cleaner Scripts

Splatting is more powerful than most scripts use it. Dynamic splatting from PSBoundParameters, conditional parameter addition, and splat passthrough patterns transform complex

Functions and Modules
Get-Content readme.md
« prev12345…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