Computer Library windows 2008 exchange server power shell security register

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



Pipelines

2.1. Introduction

One of the fundamental concepts in a shell is called the pipeline. It also forms the read more



Display the Properties of an Item As a List

1. Problem

You have an item (for example, an error record, directory item, or .NET object), and you want to display detailed information about that object in a list format.read more



Store the Output of a Command into a File

1. Problem

You want to redirect the output of a pipeline into a file.

2. Solution

To redirect read more



Access and Manage Your Console History

1. Problem

After working in the shell for a while, you want to invoke commands from your history, view your command history, and save your command history.

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