Skip to content

PowerShell Tips

Commands Tips

PowerShell WMI vs CIM: Which to Use and Why
─□✕
PowerShell WMI vs CIM: Which to Use and Why
April 15, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell WMI vs CIM: Which to Use and Why

Get-WmiObject is deprecated in PowerShell 7. Learn why CIM is the modern replacement, the protocol differences, and how to migrate your WMI scripts.

Process and Service Management
Get-Content readme.md
PowerShell XML: Read and Write XML Files
─□✕
PowerShell XML: Read and Write XML Files
April 15, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell XML: Read and Write XML Files

PowerShell handles XML natively via the [xml] type accelerator. Learn to load, navigate, modify, and save XML config files and data files.

Variables and Data Types
Get-Content readme.md
PowerShell Invoke-Expression: Run Dynamic Commands Safely
─□✕
PowerShell Invoke-Expression: Run Dynamic Commands Safely
April 15, 2026May 5, 2026 PowerShell Tips Editor 1 min read

PowerShell Invoke-Expression: Run Dynamic Commands Safely

Invoke-Expression runs string commands dynamically in PowerShell. Learn how to use it safely, its security risks, and when alternatives are better.

Process and Service Management
Get-Content readme.md
PowerShell Hashtable vs PSCustomObject: When to Use Each
─□✕
PowerShell Hashtable vs PSCustomObject: When to Use Each
April 14, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell Hashtable vs PSCustomObject: When to Use Each

Hashtables and PSCustomObjects both store named data in PowerShell. Learn the real differences in performance, pipeline behavior, and best use cases.

Variables and Data Types
Get-Content readme.md
PowerShell not recognized as cmdlet: Fix Common Name Errors
─□✕
PowerShell not recognized as cmdlet: Fix Common Name Errors
April 14, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell not recognized as cmdlet: Fix Common Name Errors

The ‘not recognized as a cmdlet’ error has several causes. Learn to diagnose typos, missing modules, and wrong shell as the fix for this common error.

Getting Started
Get-Content readme.md
PowerShell Run Script: How to Execute .ps1 Files
─□✕
PowerShell Run Script: How to Execute .ps1 Files
April 13, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Run Script: How to Execute .ps1 Files

Running a PowerShell .ps1 script is not always obvious. Learn to execute scripts from the terminal, Task Scheduler, and right-click menu properly.

Getting Started
Get-Content readme.md
PowerShell Ternary Operator and Conditional Expressions
─□✕
PowerShell Ternary Operator and Conditional Expressions
April 13, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Ternary Operator and Conditional Expressions

PowerShell 7 added the ternary operator ?: for one-line conditionals. Learn the syntax, PS5 equivalent, and practical examples.

Loops and Conditions
Get-Content readme.md
PowerShell Break and Continue in Loops Explained
─□✕
PowerShell Break and Continue in Loops Explained
April 13, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell Break and Continue in Loops Explained

Break exits a loop and continue skips to the next iteration in PowerShell. Learn labeled breaks for nested loops and flow control best practices.

Loops and Conditions
Get-Content readme.md
PowerShell Comparison Operators: Complete Reference
─□✕
PowerShell Comparison Operators: Complete Reference
April 12, 2026May 5, 2026 PowerShell Tips Editor 2 min read

PowerShell Comparison Operators: Complete Reference

Master every PowerShell comparison operator with clear examples. Covers arithmetic comparisons, string matching, and collection membership testing.

Loops and Conditions
Get-Content readme.md
PowerShell ConvertTo-Html vs Export-Csv: Choose Output Format
─□✕
PowerShell ConvertTo-Html vs Export-Csv: Choose Output Format
April 12, 2026May 5, 2026 PowerShell Tips Editor 1 min read

PowerShell ConvertTo-Html vs Export-Csv: Choose Output Format

Choose the right output format for your PowerShell data. Compare HTML, CSV, GridView, and JSON output with real-world use case guidance.

Getting Started
Get-Content readme.md
« prev1…1011121314…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
Voice Reminders Alarm Clock app icon
Set an alarm that says what to doYour voice, as the alarm
Your own recording plays full screen · meds, water, routines · rings even on silent
App Store Google Play
Sponsored
Recording a voice reminder

Record once. Remind forever.

Voice Reminders Alarm Clock turns a short recording of your own voice into a full-screen alarm for meds, water and daily routines.

Rings on silent · Works offline · Free to start

App StoreGoogle Play
Sponsored
Voice Reminders Alarm Clock app icon
Voice RemindersYour voice as the alarm
Voice Reminders full-screen voice alarm screenshot
“Call Mom”18:00 · Sundays
App StoreGoogle Play
Sponsored
Voice Reminders Alarm Clock app icon

Before you go: make the next reminder impossible to ignore

Recording a voice reminderFull-screen voice alarm with snooze and stopDaily reminder list and quick access

Record a short message in your own voice and Voice Reminders plays it back on a full-screen alarm, on the schedule you set.

“Take your medicine”07:30 · every day
App StoreGoogle Play

Rings on silent · Works offline · Recordings stay on your device