Microsoft Office Tutorials and References
In Depth Information
Basics of PowerShell
As you can see Microsoft is serious about making PowerShell a part of all of their
products. It makes sense to invest time into learning PowerShell.
Basics of PowerShell
We are going to look at the basics of PowerShell before we get into using PowerShell
with DPM.
In PowerShell commands are no longer called commands. They are referred to as
cmdlets (pronounced command-lets). Cmdlets consist of two parts connected by
a hyphen. These two parts are a verb and a noun like this "verb-noun". An example
of this would be Get-Command . The verb is an action that will be performed and
the noun is an object on which the verb will be performed. So let's break down
Get-Command for a better understanding. Get is going to retrieve something; but
what is it going to retrieve? Command is what Get is going to retrieve. Get gathers
a list of commands that are in the shell and outputs this information to the screen.
To sum this up PowerShell has a lot of verbs and those verbs can be combined with
any object in that shell to perform tasks at the command-line. You have the standard
PowerShell that comes with Windows and then you have shells that come with
other Microsoft products such as Exchange. The shell with Exchange will contain
more Exchange-specific objects that the standard Windows PowerShell will not
contain. Even though each product has its own set of objects, the verbs have the same
concept behind them making it easy to start using them if you are already familiar
with PowerShell. Once you grasp the basic concept of cmdlets it will help you better
understand the power they hold.
NOTE : In addition to cmdlets PowerShell can
run all the commands you can run in Windows
using and cmd.exe .
Search JabSto ::

Custom Search