Powershell for Beginners: Learn Powershell 7 Through Hands-On Mini Games (Paperback)

Waters, Ian

  • 出版商: Apress
  • 出版日期: 2021-06-12
  • 售價: $1,540
  • 貴賓價: 9.5$1,463
  • 語言: 英文
  • 頁數: 232
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484270630
  • ISBN-13: 9781484270639
  • 相關分類: Powershell
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Learn the basic tools and commands to write scripts in PowerShell 7. This hands-on guide is designed to get you up and running on PowerShell quickly - introducing interactive menus, reading and writing files, and creating code that talks over the network to other scripts, with mini games to facilitate learning.

PowerShell for Beginners starts with an introduction to PowerShell and its components. It further discusses the various tools and commands required for writing scripts in PowerShell 7, with learning reinforced by writing mini games. You will learn how to use variables and conditional statements for writing scripts followed by loops and arrays. You will then work with functions and classes in PowerShell. Moving forward, you will go through the PowerShell Console, customizing the title and text colors. Along the way you will see how to read a key press and make sound in PowerShell. The final sections cover game engine layout, how to build a title screen, and implementing the game design using code flow, title screens, levels, and much more.

After reading the book you will be able to begin working with PowerShell 7 scripts and understand how to use its tools and commands effectively.

 

What You Will Learn

 

  • Use Microsoft Visual Studio Code to develop scripts
  • Understand variables, loops and conditional statements in PowerShell
  • Work with scripts to develop a game
  • Discover and use ASCII art generators
  • Comprehend game objects and code
  • Create client-server scripts that communicate over a network

  • Read and write to files

  • Capture input from the keyboard

  • Make PowerShell speak words to help the visually impaired

  • Create text-based adventure games

 

Who This Book Is For
Software developers who want to start working with PowerShell scripts.

商品描述(中文翻譯)

學習在PowerShell 7中撰寫腳本的基本工具和命令。這本實踐指南旨在讓您快速上手PowerShell - 介紹互動式菜單、讀寫文件以及創建與其他腳本通信的代碼,並提供迷你遊戲以促進學習。

《PowerShell入門》首先介紹了PowerShell及其組件。它進一步討論了在PowerShell 7中撰寫腳本所需的各種工具和命令,並通過撰寫迷你遊戲來加強學習。您將學習如何使用變量和條件語句來撰寫腳本,然後學習循環和數組。接下來,您將使用PowerShell中的函數和類進行工作。在此過程中,您將了解如何讀取按鍵和在PowerShell中發出聲音。最後的部分涵蓋了遊戲引擎佈局、如何構建標題畫面以及使用代碼流、標題畫面、關卡等實現遊戲設計等內容。

閱讀本書後,您將能夠開始使用PowerShell 7腳本,並有效地使用其工具和命令。

您將學到什麼:

- 使用Microsoft Visual Studio Code開發腳本
- 理解PowerShell中的變量、循環和條件語句
- 使用腳本開發遊戲
- 發現並使用ASCII藝術生成器
- 理解遊戲對象和代碼
- 創建在網絡上通信的客戶端-服務器腳本
- 讀寫文件
- 從鍵盤捕獲輸入
- 讓PowerShell朗讀文字以幫助視覺障礙者
- 創建基於文本的冒險遊戲

本書適合對開始使用PowerShell腳本感興趣的軟體開發人員。

作者簡介

Ian Waters works for Southern IT Networks Ltd as the technical director. He works with Managed Service Providers (MSPs) striving to provide the best possible IT support services to businesses in the south east of England. Ian has an overall experience of 15 years in IT where he has been working on Windows Server, Exchange, Active Directory, Microsoft 365, PowerShell, and many more. He is a frequent blogger and posts articles related to Microsoft's new technologies on Slash Admin.

 

作者簡介(中文翻譯)

Ian Waters是Southern IT Networks Ltd的技術總監。他與托管服務提供商(MSP)合作,致力於為英格蘭東南部的企業提供最佳的IT支援服務。Ian在IT領域擁有15年的綜合經驗,他一直在Windows Server、Exchange、Active Directory、Microsoft 365、PowerShell等領域工作。他是一位頻繁發表博客文章的人,並在Slash Admin上發布與Microsoft新技術相關的文章。