Skip to main content
Apress

PowerShell for Beginners

Learn PowerShell 7 Through Hands-On Mini Games

  • Book
  • © 2021

Overview

  • Demonstrates ASCII images for building a screen
  • Addresses screen flicker problems
  • Covers designing different levels in a game using PowerShell 7

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (21 chapters)

Keywords

About this book

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.

Authors and Affiliations

  • Bexhill, UK

    Ian Waters

About the author

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.


Bibliographic Information

  • Book Title: PowerShell for Beginners

  • Book Subtitle: Learn PowerShell 7 Through Hands-On Mini Games

  • Authors: Ian Waters

  • DOI: https://doi.org/10.1007/978-1-4842-7064-6

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Ian Waters 2021

  • Softcover ISBN: 978-1-4842-7063-9Published: 12 June 2021

  • eBook ISBN: 978-1-4842-7064-6Published: 11 June 2021

  • Edition Number: 1

  • Number of Pages: XVI, 232

  • Number of Illustrations: 115 b/w illustrations

  • Topics: Microsoft and .NET

Publish with us