References > Aliases > PowerShell


The ability to employ PowerShell scripts within SAM is a powerful advantage for system administrators. This document merely provides an introduction to PowerShell, as well as its role with SAM.

Windows PowerShell is a command-line shell created for system administrators. PowerShell includes an interactive prompt and a scripting environment that can be used independently or in combination.

PowerShell is built on top of the .NET Framework Common Language Runtime (CLR) and the .NET Framework, and accepts and returns .NET Framework objects.

PowerShell also introduces the cmdlet. A cmdlet is a simple command that can manipulate objects in PowerShell. Cmdlets have a unique format -- a verb and noun separated by a dash (-), such as Get-Help. You can use each cmdlet separately or in combination to perform complex tasks. PowerShell includes more than one hundred cmdlets, and you can write your own.

PowerShell gives you access to the file system on the computer. In addition, PowerShell providers enable you to access other data stores, such as the registry, for example.

Things you should know about PowerShell:

  • PowerShell does not process text. Instead, it processes objects based on the .NET Framework.
  • PowerShell comes with a set of built-in commands with a consistent interface.