Automate Data-Intensive Tasks
1. Problem
You want to invoke a simple task on large amounts of data.
2. Solution
If only one piece of data changes (such as a server name or user name), store the data in a text file. Use the Get-Content cmdlet to retrieve the items, and then use the Foreach-Object cmdlet (which has the standard aliases foreach [...]
Find a Command to Accomplish a Task
1. Problem
You want to accomplish a task in PowerShell but don’t know the command or cmdlet to accomplish that task.
2. Solution
Use the Get-Command cmdlet to search for and investigate commands.
To get the summary information about a specific command, specify the command name as an argument:
       Get-Command CommandName
To get the detailed information about a specific command, [...]

