What programming language does PowerShell use

PowerShell and Python in comparison

In addition to the ardent advocates of PowerShell, especially on Windows systems, many administrators and users swear by the Python scripting language. So the question remains, which scripting language can and should I use? In this article, we introduce the two languages ​​PowerShell and Python, and show their possibilities and differences.

Let's start with Python. Administrators and certainly also many users who work frequently with Linux systems may have used this scripting language at some point or just executed one of these scripts with the ending "py" on their computer. Python was developed entirely in the spirit of free software and is therefore freely available both in the source code and in binary form together with the standard library under [1].

Python is a very extensive interpretive programming language, the features and possibilities of which go far beyond a normal scripting language. It supports all the features that users can expect from a modern programming and scripting language today. This includes, among other things, object orientation including the use of classes and abstract data types (ADT), the possibility of dividing programs into modules as required (as well as the large number of existing standard modules), the use of exceptional conditions (exceptions) and the possibility of, for example, the language with in Code written in C. As with many interpreter languages, it is not necessary to declare variables and arguments. This makes it much easier to create programs quickly, but can also quickly lead to problems, for example due to unintentional typing errors in variable identifiers.

Many users and programmers also emphasize that the Python code is generally easy to read, which significantly increases its reusability. In contrast to other programming languages, which sometimes have excessive use of


The complete article is only available for subscribers to the ADMIN Archive subscription.

comments powered by Disqus