Practical solutions

PowerShell Howtos How-To Guides

Solve the problem. Keep building. Collection of Windows powershell how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Install Software in PowerShellThis article will demonstrate several methods and approaches to install software using Windows PowerShell. How to Clear the Screen in PowerShellThis article discusses and provides several ways to clear the PowerShell screen scripting environment. How to Check if a String Is Not NULL or EMPTY in PowerShellThis tutorial will introduce different methods to check if a string is not null or empty in PowerShell. How to Get Logged on Users in PowerShellThis article will discuss several ways to use PowerShell to get current logged-in users on a computer. The methods we know will include native commands, .NET classes, and Windows Management Instrumentation (WMI) specific cmdlets. How to Use Credential Manager Module in PowerShellThis article will discuss installing the Credential Manager module in PowerShell and utilizing its commands to manage our stored passwords. How to Run Exe File With Parameters in PowerShellIn this article, we are only focusing on the ways of running exe files with parameters because the normal exe file execution (without parameters) is quite straight forward if it is already in the Windows PATH. How to Create an Input Box in PowerShellThis article will explain getting user input in PowerShell using the prompt and how to generate an input box using PowerShell GUI. How to Run a PowerShell Script Without Displaying a WindowThis article shows a way to run a PowerShell script without displaying a window using hidden as window style. How to Clear Variable Content in PowerShellThis tutorial will teach you to clear variable content in PowerShell. How to Run Commands in Parallel in PowerShellThis article will teach us to understand and use various PowerShell multithreading techniques to process multiple data streams simultaneously but managed through the same console. How to Query Active Directory Users in PowerShellThis article will discuss how to explore working one of the active directory objects and use Windows PowerShell Active Directory Module to manage active directory users. How to Move Files and Folders Using PowerShellThis article will discuss several essential cmdlets when moving files and directories using PowerShell scripting for bulk remediation. How to Rename Files and Folders Using PowerShellThis article will discuss filtering files and folders and how to rename the file names and change the file extension using Windows PowerShell. How to Remove Spaces From a Variable Using PowerShellThis tutorial will teach you to remove spaces from a variable using PowerShell. How to Create Tables in PowerShellThis tutorial will introduce different methods to create tables in PowerShell. How to Combine Multiple Conditions in if StatementThis tutorial will teach you to combine multiple conditions in if statement in PowerShell. How to Get a List of All PowerShell ModulesThis tutorial will teach you to get a list of all available modules in PowerShell. How to Select Multiple Patterns in a String Using PowerShellThis article discusses the Select-String command that searches for specific single and multiple string patterns using Windows PowerShell. How to Open a Folder Using PowerShellThis tutorial will teach you to open a folder using PowerShell. How to Create and Throw a New Exception in PowerShellThis tutorial will teach you how to create and throw a new exception in PowerShell and combine multiple conditions in an if statement. How to Recursively Set Permissions on Folders Using PowerShellThis tutorial will teach you to recursively set permissions on folders in PowerShell. How to Manage Certificate Stores Using PowerShellThis article will discuss how to query certificates and manage certificate stores using PowerShell. How to Handle Errors Using Try-Catch Block in PowerShellThis article will discuss error action preferences in PowerShell and how we can intercept them to perform error handling using the PowerShell Try Catch and Finally blocks. How to Confirm Prompt in PowerShellThis tutorial will teach you to display confirmation prompt in PowerShell.