PowerShell for Beginners
eBook - ePub

PowerShell for Beginners

Learn PowerShell 7 Through Hands-On Mini Games

  1. English
  2. ePUB (mobile friendly)
  3. Only available on web
eBook - ePub

PowerShell for Beginners

Learn PowerShell 7 Through Hands-On Mini Games

Book details
Table of contents
Citations

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.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access PowerShell for Beginners by Ian Waters in PDF and/or ePUB format, as well as other popular books in Computer Science & Microsoft Programming. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2021
ISBN
9781484270646

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Introduction
  4. 2. Beginners’ Guide to PowerShell and Visual Studio Code
  5. 3. Variables
  6. 4. Conditional Statements
  7. 5. Loops
  8. 6. Arrays
  9. 7. Functions
  10. 8. Classes
  11. 9. Customizing the Console
  12. 10. User Input
  13. 11. Dragon Slayer
  14. 12. Getting Colorful
  15. 13. ASCII Table
  16. 14. Cursor Control
  17. 15. Background Processing
  18. 16. Networking
  19. 17. Working with Files
  20. 18. Sound
  21. 19. Game Engine
  22. 20. Creating Game Artwork
  23. 21. PowerBomber
  24. Back Matter