
180
CHAPTER 7 AdministrAting shArePoint 2010with Powershell
The Get-Help cmdlet returns information regarding the specified command including a description,
syntax details, and a list of related commands. You can also use the optional
-examples parameter
to the
Get-Help cmdlet to see examples of how to use the command. For all available information
regarding the command, add the
-full parameter. You may also issue a cmdlet with -? to display
the main help text.
Function Key Shortcuts
You can use several function key operations in PowerShell that are similar to Command Prompt
window operations. These assist in repeating commands or at least help you start with a similar
command that was previously executed. Pressing the F3 function key in the console window displays
the last executed statement on the prompt line. When this appears, pressing the up and down arrows
pages through any other previously executed commands. This is useful for repeating or correcting
previous command entries. You can use the left and right arrow keys to move the cursor within the
command-line text for corrections. Pressing the Insert key enables you to overwrite the text instead
of inserting because by default the operation is insertion.
Pressing the F7 function key pops up a menu of previously executed commands from your PowerShell
session. You can use the arrow keys to highlight the appropriate item ...