PowerShell 7 Workshop: Learn how to program with PowerShell 7 on Windows, Linux, and the Raspberry Pi

PowerShell 7 Workshop: Learn how to program with PowerShell 7 on Windows, Linux, and the Raspberry Pi
by 作者: Nick Parlow (Author)
Publisher Finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2024-02-29
Language 语言: English
pages 页数: : 468 pages
ISBN-10 书号: 1801812985
ISBN-13 书号: 9781801812986

Book Description

Leverage PowerShell 7 to write code on Windows, Linux, and Raspberry Pi to accomplish real-world tasks with this practical guide

Key Features

  • Master the art of coding with Microsoft's free, open-source cross-platform language
  • Understand essential programming concepts such as loops and objects through practical examples
  • Practice using PowerShell 7 with websites, APIs, and physical computing devices like Raspberry Pi
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Discover the capabilities of PowerShell 7 for your everyday tasks with this carefully paced tutorial that will help you master this versatile programming language.

The first set of chapters will show you where to find and how to install the latest version of PowerShell, providing insights into the distinctive features that set PowerShell apart from other languages. You'll then learn essential programming concepts such as variables and control flow, progressing to their applications. As you advance, you'll work with files and APIs, writing scripts, functions, and modules. You'll also gain proficiency in securing your PowerShell environment before venturing into different operating systems.

Enriched with detailed practical examples tailored for Windows, Linux, macOS, and Raspberry Pi, each chapter weaves real-world scenarios to ignite your imagination and cement the principles you learn. You'll be able to reinforce your understanding through self-assessment questions and delve deeper into the principles using comprehensive reading lists.

By the end of this book, you'll have the confidence to use PowerShell for physical computing and writing scripts for Windows administration.

What you will learn

  • Grasp the distinctive object-oriented nature of PowerShell 7
  • Explore the practical applications of standard programming concepts, such as control flow
  • Find out how to interact with websites and APIs
  • Implement best practices to secure your PowerShell environment and write secure code
  • Get to grips with writing scripts, functions, and modules
  • Develop the skills to troubleshoot your code
  • Deploy PowerShell on various operating systems

Who this book is for

This book is for system administrators, PowerShell developers, and cloud and DevOps engineers seeking comprehensive insights into PowerShell 7 and its applications in daily tasks. Anyone getting started with PowerShell will also find this book useful. Familiarity with at least one programming language will help you follow along more easily.

Table of contents

  1. Introduction to PowerShell 7 - What It Is and How to Get It
  2. Exploring PowerShell Cmdlets and Syntax
  3. The PowerShell Pipeline - How to String Cmdlets Together
  4. PowerShell Variables and Data Structures
  5. PowerShell Control Flow - Conditionals and Loops
  6. PowerShell and Files - Reading, Writing, and Manipulating Data
  7. PowerShell and the Web - HTTP, REST, and JSON
  8. Writing Our First Script - Turning Simple Cmdlets into Reusable Code
  9. Don't Repeat Yourself - Functions and Scriptblocks
  10. Error Handling - Oh No! It's Gone Wrong!
  11. Creating Our First Module
  12. Securing PowerShell
  13. Working With PowerShell 7 and Windows
  14. PowerShell 7 for Linux and macOS
  15. PowerShell 7 and the Raspberry Pi
  16. Working with PowerShell and .NET

About the Author

Nick Parlow is a Fujitsu Fellow and has been an email specialist for the last 20 years. He's a Microsoft Certified Master in Exchange, a VMware Certified Advanced Professional, and a Microsoft Certified Trainer. He's got master's degrees in network engineering from Sheffield Hallam and software engineering from Northumbria. Best of all, he's a Raspberry Pi Certified Educator. Before IT, he worked as a metallurgist, including at the Joint European Torus, and also worked as a deckhand and a tree surgeon's mate. It's all good. He works with schools in Hertfordshire, teaching programming and physical computing. In his spare time, he likes to play with chainsaws, watch Welsh rugby, listen to punk music, and drink cider.

Amazon page

未经允许不得转载:finelybook » PowerShell 7 Workshop: Learn how to program with PowerShell 7 on Windows, Linux, and the Raspberry Pi


  • 暂无文章