PowerShell: A Beginner's Guide to Windows PowerShell

Автор: literator от 6-05-2023, 07:22, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

PowerShell: A Beginner's Guide to Windows PowerShellНазвание: PowerShell: A Beginner's Guide to Windows PowerShell
Автор: Roger Wilson
Издательство: Ingram Publishing
Год: 2022
Страниц: 108
Язык: английский
Формат: pdf, epub, mobi
Размер: 10.1 MB

Windows PowerShell is a scripting language and automation engine that is designed using object-oriented concepts with the .NET framework. It provides a Graphical User Interface (GUI) and command line components to manipulate servers and workstations using a scripting language that offers easy syntax. PowerShell works simply by invoking cmdlets and scripts locally or remotely. PowerShell uses the background Intelligent Transfer Service (BITS) to transfer files between machines in an asynchronized and prioritized manner. PowerShell has several advantages, including the ability to execute powerful scripts to accomplish tasks that cannot be executed using a few lines of code. Further, PowerShell variables can hold output from values, commands, and objects, and it is not necessary to specify the type of a particular variable.

PowerShell holds advantages over the traditional command line interface in several respects. First, it is integrated with the Windows operating system and provides a scripting language and interactive command line interface to execute scripts. On the other hand, the command line interface is a simple Win32 application provided by Microsoft, and it can interact with any Win32 application. Cmdlets used in PowerShell are not available through the command prompt and can be invoked by the automation scripts or the runtime environment. Cmdlets in PowerShell are treated as objects, and this provides the flexibility to use them anywhere else by passing them as input to another cmdlet. This feature is only specific to PowerShell, which also consists of several other capabilities, features, and functions that are not available in the command prompt with only very basic functionality.

PowerShell is increasingly becoming the preferred scripting platform for IT administrators as it supports management operations in large corporate networks containing as many as four hundred servers. Functions, like executing security solutions that require a script to be constantly running in the background, can be accomplished with PowerShell scripting. It allows comprehensive functionality, including the ability to login to multiple servers to check whether a specific service is installed and running. These otherwise time-consuming operations can be completed in much less time and limit human error as the time spent doing non-productive processes is minimized. Tasks can be completed in only a few minutes as scripts may be used to complete operations related to services executing on multiple servers.

PowerShell can be used as a scripting language to automate the management of systems and to deploy solutions in continuous integration/continuous delivery (CI/CD) environments. PowerShell scripting language is fully extensible with its classes, modules, scripts, and functions. Its formatting system is also extensible and gives easy access to output. An extensible type system helps to create dynamic types. Further, it supports built-in data formats, like JSON, CSV, and XML. PowerShell is built on .NET common language runtime and takes .NET objects as inputs and outputs. It does not require parsing of text output to extract information from the output.

This book aims to serve as a beginner's guide to Windows PowerShell and will take you through all of its key features and components including commands, objects, the pipeline, scripting, and more!

Contents:


Скачать PowerShell: A Beginner's Guide to Windows PowerShell








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.