Skip to content

PowerShell Tips

Commands Tips

PowerShell Pipeline Optimization: Speed Up Slow Scripts
─□✕
PowerShell Pipeline Optimization: Speed Up Slow Scripts
April 19, 2026May 5, 2026 PowerShell Tips Editor 5 min read

PowerShell Pipeline Optimization: Speed Up Slow Scripts

Slow PowerShell scripts are often fixed with a few pipeline tweaks. Learn to filter early, avoid repeated cmdlet calls, and use method syntax for speed.

Pipeline and Filtering
Get-Content readme.md
PowerShell Measure Script Performance with Measure-Command
─□✕
PowerShell Measure Script Performance with Measure-Command
April 18, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Measure Script Performance with Measure-Command

Measure-Command times any PowerShell code block. Learn to benchmark commands, compare two approaches, and find performance bottlenecks.

Error Handling
Get-Content readme.md
PowerShell Read-Host: Get User Input in Scripts
─□✕
PowerShell Read-Host: Get User Input in Scripts
April 18, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Read-Host: Get User Input in Scripts

Read-Host prompts users for input in PowerShell scripts. Learn to get text, secure passwords, and validate input with while-loop patterns.

Functions and Modules
Get-Content readme.md
PowerShell LDAP Query: Search Active Directory Directly
─□✕
PowerShell LDAP Query: Search Active Directory Directly
April 18, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell LDAP Query: Search Active Directory Directly

Query Active Directory directly with LDAP using PowerShell’s DirectorySearcher. Useful when the ActiveDirectory module is not available.

Active Directory and Users
Get-Content readme.md
PowerShell WinRM Setup: Enable Remote Management
─□✕
PowerShell WinRM Setup: Enable Remote Management
April 17, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell WinRM Setup: Enable Remote Management

WinRM enables PowerShell remoting across your network. Learn to enable it, configure trusted hosts, set up HTTPS, and troubleshoot connection issues.

Process and Service Management
Get-Content readme.md
PowerShell Proxy Settings: Configure and Bypass Proxy
─□✕
PowerShell Proxy Settings: Configure and Bypass Proxy
April 17, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Proxy Settings: Configure and Bypass Proxy

Corporate networks route web traffic through proxies. Learn to configure PowerShell Invoke-WebRequest with proxy settings, credentials, and bypass lists.

Networking
Get-Content readme.md
PowerShell Hash File: Verify File Integrity with Get-FileHash
─□✕
PowerShell Hash File: Verify File Integrity with Get-FileHash
April 17, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Hash File: Verify File Integrity with Get-FileHash

Get-FileHash computes cryptographic hashes to verify file integrity. Learn to generate SHA256 hashes, compare files, and validate downloads.

Files and Folders
Get-Content readme.md
PowerShell Zip Files: Compress and Extract Archives
─□✕
PowerShell Zip Files: Compress and Extract Archives
April 16, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Zip Files: Compress and Extract Archives

PowerShell’s built-in archive cmdlets handle ZIP compression without 7-zip. Learn Compress-Archive, Expand-Archive, and common archive patterns.

Files and Folders
Get-Content readme.md
PowerShell New-Item vs mkdir: Create Folders and Files
─□✕
PowerShell New-Item vs mkdir: Create Folders and Files
April 16, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell New-Item vs mkdir: Create Folders and Files

Both New-Item and mkdir create folders in PowerShell. Learn which is more powerful, when to use each, and how to create nested directories at once.

Files and Folders
Get-Content readme.md
PowerShell Get-Content vs Import-Csv: Which to Use for Files
─□✕
PowerShell Get-Content vs Import-Csv: Which to Use for Files
April 16, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Get-Content vs Import-Csv: Which to Use for Files

Get-Content reads raw lines while Import-Csv creates structured objects. Learn which to choose based on your file format and downstream processing needs.

Files and Folders
Get-Content readme.md
« prev1…910111213…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