Windows PowerShell introduces the concept of a cmdlet ("command-let"). A cmdlet is a simple, single-function command-line tool built into the shell, whose aim is to manipulate objects. You can recognize cmdlets by their name format: a verb and noun separated by a dash (-), such as Get-Help, Get-State and Run-Scenario. The verbs express specific actions in Windows PowerShell, while the nouns describe specific types of objects.
In Windows PowerShell, most cmdlets are very simple, and they are designed to be used in combination with other cmdlets. For example, the "get" cmdlets only retrieve data, the "set" cmdlets only establish or change data, the "format" cmdlets only format data, and the "out" cmdlets only direct the output to a specified destination.
PowerShell cmdlets have common parameters, which are not described in this Guide. To get more information about the common parameters, enter:
get-help about_commonparameters
PowerShell cmdlets can have mandatory and optional parameters. If a mandatory parameter is missing, you will be prompted to enter it. If an optional parameter is missing, PowerShell uses the default value.
Copyright © 2015 Arcserve.
All rights reserved.
|
|