21 Facts About Windows PowerShell

1.

Windows PowerShell is a task automation and configuration management program from Microsoft, consisting of a command-line shell and the associated scripting language.

FactSnippet No. 687,135
2.

Windows PowerShell provides a hosting API with which the Windows PowerShell runtime can be embedded inside other applications.

FactSnippet No. 687,136
3.

Windows PowerShell includes its own extensive, console-based help accessible via the Get-Help cmdlet.

FactSnippet No. 687,137
4.

Different versions of Windows PowerShell provided various special-purpose command-line interpreters with their own command sets but they were not interoperable.

FactSnippet No. 687,138
5.

Specifically, he noted that Linux considers everything an ASCII text file, whereas Windows PowerShell considers everything an "API that returns structured data".

FactSnippet No. 687,139

Related searches

Microsoft API Perl PHP
6.

On 25 April 2006, not long after the initial Monad announcement, Microsoft announced that Monad had been renamed Windows PowerShell, positioning it as a significant part of its management technology offerings.

FactSnippet No. 687,140
7.

However, Windows PowerShell's language was influenced by PHP, Perl, and many other existing languages.

FactSnippet No. 687,141
8.

Windows PowerShell provides an interactive command-line interface, where the commands can be entered and their output displayed.

FactSnippet No. 687,142
9.

Windows PowerShell enables the creation of aliases for cmdlets, which Windows PowerShell textually translates into invocations of the original commands.

FactSnippet No. 687,143
10.

Whenever a cmdlet runs, Windows PowerShell invokes these methods in sequence, with ProcessRecord being called if it receives pipeline input.

FactSnippet No. 687,144
11.

Windows PowerShell invokes the mutator with the parameter value or pipeline input, which is saved by the mutator implementation in class variables.

FactSnippet No. 687,145
12.

Windows PowerShell includes various cmdlets for managing various Windows systems, including the file system, or using Windows Management Instrumentation to control Windows components.

FactSnippet No. 687,146
13.

Windows PowerShell includes a dynamically typed scripting language which can implement complex operations using cmdlets imperatively.

FactSnippet No. 687,147
14.

Windows PowerShell provides special variables, such as $args, which is an array of all the command line arguments passed to a function from the command line, and $_, which refers to the current object in the pipeline.

FactSnippet No. 687,148
15.

The Windows PowerShell scripting language evaluates arithmetic expressions entered on the command line immediately, and it parses common abbreviations, such as GB, MB, and KB.

FactSnippet No. 687,149
16.

However, Windows PowerShell allows for advanced functions that support named parameters, positional parameters, switch parameters and dynamic parameters.

FactSnippet No. 687,150
17.

Windows PowerShell can be configured to silently resume execution, without actually throwing the exception; this can be done either on a single command, a single session or perpetually.

FactSnippet No. 687,151
18.

Windows PowerShell scripting language supports binary prefix notation similar to the scientific notation supported by many programming languages in the C-family.

FactSnippet No. 687,152
19.

One can use Windows PowerShell embedded in a management application, which uses the Windows PowerShell runtime to implement the management functionality.

FactSnippet No. 687,153
20.

Windows PowerShell v2 includes changes to the scripting language and hosting API, in addition to including more than 240 new cmdlets.

FactSnippet No. 687,154
21.

Many of these similar commands come out-of-the-box defined as aliases within Windows PowerShell, making it easy for people familiar with other common shells to start working.

FactSnippet No. 687,155