Skip to content

PowerShell Tips

Commands Tips

PowerShell Conditional Access: Export Azure AD Reports
─□✕
PowerShell Conditional Access: Export Azure AD Reports
April 22, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell Conditional Access: Export Azure AD Reports

Generate Azure AD security reports with PowerShell via Graph API. Export sign-in logs, MFA status, and conditional access policy reports automatically.

Cloud and Microsoft 365
Get-Content readme.md
PowerShell AD Password Policy: View and Configure Settings
─□✕
PowerShell AD Password Policy: View and Configure Settings
April 22, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell AD Password Policy: View and Configure Settings

Check and configure Active Directory password policies with PowerShell. Learn to view domain policy, create fine-grained policies, and apply them to groups.

Active Directory and Users
Get-Content readme.md
PowerShell ConvertFrom-String: Parse Unstructured Text
─□✕
PowerShell ConvertFrom-String: Parse Unstructured Text
April 22, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell ConvertFrom-String: Parse Unstructured Text

Tool output is often unstructured text. Learn to parse ipconfig, netstat, and other command output into PowerShell objects using regex and split.

Strings and Text
Get-Content readme.md
PowerShell Classes: Object-Oriented Programming Basics
─□✕
PowerShell Classes: Object-Oriented Programming Basics
April 21, 2026May 5, 2026 PowerShell Tips Editor 3 min read

PowerShell Classes: Object-Oriented Programming Basics

PowerShell 5+ supports class definitions for OOP-style scripting. Learn to create classes with properties, methods, constructors, and inheritance.

Functions and Modules
Get-Content readme.md
PowerShell WinForms: Build Simple GUI Applications
─□✕
PowerShell WinForms: Build Simple GUI Applications
April 21, 2026May 5, 2026 PowerShell Tips Editor 5 min read

PowerShell WinForms: Build Simple GUI Applications

Windows Forms lets you add a GUI to PowerShell scripts. Learn to create windows, buttons, input boxes, and message dialogs for end-user tools.

Useful Scripts and Recipes
Get-Content readme.md
PowerShell ADO.NET: Query SQL Server Databases
─□✕
PowerShell ADO.NET: Query SQL Server Databases
April 20, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell ADO.NET: Query SQL Server Databases

Query SQL Server databases directly from PowerShell with Invoke-Sqlcmd. Learn to SELECT data, use parameters, and export results for reporting.

Cloud and Microsoft 365
Get-Content readme.md
PowerShell Verbose Output: Add Debug Information to Scripts
─□✕
PowerShell Verbose Output: Add Debug Information to Scripts
April 20, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Verbose Output: Add Debug Information to Scripts

Write-Verbose adds optional diagnostic output that only shows when requested. Learn to add verbose messages to scripts and control them with -Verbose.

Error Handling
Get-Content readme.md
PowerShell Signing Scripts: Code Sign Your .ps1 Files
─□✕
PowerShell Signing Scripts: Code Sign Your .ps1 Files
April 20, 2026May 5, 2026 PowerShell Tips Editor 5 min read

PowerShell Signing Scripts: Code Sign Your .ps1 Files

Code-signed PowerShell scripts run under AllSigned execution policy. Learn to sign with a certificate, verify signatures, and set up a signing workflow.

Functions and Modules
Get-Content readme.md
PowerShell Regex: Match Email, IP Address, and URL Patterns
─□✕
PowerShell Regex: Match Email, IP Address, and URL Patterns
April 19, 2026May 5, 2026 PowerShell Tips Editor 5 min read

PowerShell Regex: Match Email, IP Address, and URL Patterns

Common regex patterns for PowerShell: validate emails, extract IP addresses, match URLs, and detect dates. Copy-paste-ready for your scripts.

Strings and Text
Get-Content readme.md
PowerShell Credential Management: Store and Reuse Credentials
─□✕
PowerShell Credential Management: Store and Reuse Credentials
April 19, 2026May 5, 2026 PowerShell Tips Editor 4 min read

PowerShell Credential Management: Store and Reuse Credentials

Managing credentials safely is critical for automation. Learn to create PSCredential objects, save encrypted passwords, and reuse them across scripts.

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