Vtome.ru - электронная библиотека

Powershell 101 Getting Started With Functions

  • Добавил: literator
  • Дата: 22-02-2023, 05:23
  • Комментариев: 0
Powershell 101 Getting Started With FunctionsНазвание: Powershell 101 Getting Started With Functions
Автор: Adam Bertram
Издательство: ATA Learning
Год: 2022
Язык: английский
Формат: pdf
Размер: 10.2 MB

Support ATA Learning and its writers and learn how to get a jumpstart on building PowerShell functions from PowerShell subject matter experts!

Take your PowerShell skills to the next level with functions! Functions are a core component of PowerShell and a topic you must understand to build great PowerShell tools.

This tutorial-based guidebook contains independent PowerShell tutorials written with the beginner in mind by PowerShell subject matter experts to help you understand how functions work and how to get started creating them today!

Once you get accustomed to writing PowerShell scripts, you need to learn about code modularization. Modularization is just a fancy word for creating code in building blocks. In the PowerShell world, PowerShell functions are one of the best ways to do this. When you write a PowerShell script, you have many options on how you write the code. You could write a thousand lines of code that do hundreds of tasks, all in a single, uninterrupted block of code. That would be a disaster. Instead, you should write functions. Functions dramatically increase the usability and readability of your code, making it much easier to work with. In this tutorial, you’ll learn to write functions, add and manage your functions’ parameters, and set up functions to accept pipeline input. But first, let’s look at a bit of terminology.

The concept of a function might sound familiar because it sounds a bit like the cmdlets you’ve probably been using already. Commands like Start-Service and Write-Host, for example, are similar to functions. These are named pieces of code that solve a single problem. The difference between a function and a cmdlet is how each of these constructs is made. A cmdlet isn’t written with PowerShell. It’s written in another language, typically something like C#. The cmdlet is then compiled and made available inside PowerShell. Functions, on the other hand, are written in PowerShell; not in another language.

This ATA Guidebook consists of the following tutorials:

Your Getting Started Guide to PowerShell Functions
Getting to Know the PowerShell Pipeline and Creating Functions
Learn How PowerShell's CmdletBinding Enhances Functions

This eBook is part of the ATA Guidebook series in partnership with adamtheautomator.com. Each ATA Guidebook contains a series of step-by-step tutorials written by industry professionals from across the globe. An ATA Guidebook contains common tutorials written by subject matter experts to help you navigate the complex world of IT.

Скачать Powershell 101 Getting Started With Functions












ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


ПРАВООБЛАДАТЕЛЯМ


СООБЩИТЬ ОБ ОШИБКЕ ИЛИ НЕ РАБОЧЕЙ ССЫЛКЕ



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