Computer Library windows 2008 exchange server power shell security register

Convert a String to Upper/Lowercase

1. Problem

You want to convert a string to uppercase or read more



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



Create a String

1. Problem

You want to create a variable that holds text.

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



Work with Each Item in a List or Command Output

1. Problem

You have a list of items and want to work with each item in that list.

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



Get the System Date and Time

1. Problem

You want to get the system date.

2. 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