Search a String for Text or a Pattern
1. Problem
You want to determine if a string contains another string, or want to find the position of read more
Adjust Script Flow Using Conditional Statements
1. Problem
You want to control the conditions under which PowerShell executes commands or portions of read more
Make Decisions with Comparison and Logical Operators
1. Problem
You want to compare some data with other data and make a decision based on that read more
Simplify Most Where-Object Filters
The Where-Object cmdlet is incredibly powerful, in that it allows you to filter your output based on arbitrary criteria. For extremely simple filters read more
Measure the Duration of a Command
1. Problem
You want to know how long a command takes to execute.
2. Solution
To measure the read more
Invoke a PowerShell Script From Outside PowerShell
1. Problem
You want to invoke a PowerShell script from a batch file, a logon script, scheduled task, or any read more

