Book Image

Learn PowerShell Core 6.0

By : David das Neves, Jan-Hendrik Peters
Book Image

Learn PowerShell Core 6.0

By: David das Neves, Jan-Hendrik Peters

Overview of this book

Beginning with an overview of the different versions of PowerShell, Learn PowerShell Core 6.0 introduces you to VSCode and then dives into helping you understand the basic techniques in PowerShell scripting. You will cover advanced coding techniques, learn how to write reusable code as well as store and load data with PowerShell. This book will help you understand PowerShell security and Just Enough Administration, enabling you to create your own PowerShell repository. The last set of chapters will guide you in setting up, configuring, and working with Release Pipelines in VSCode and VSTS, and help you understand PowerShell DSC. In addition to this, you will learn how to use PowerShell with Windows, Azure, Microsoft Online Services, SCCM, and SQL Server. The final chapter will provide you with some use cases and pro tips. By the end of this book, you will be able to create professional reusable code using security insight and knowledge of working with PowerShell Core 6.0 and its most important capabilities.
Table of Contents (26 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Chapter 2


  1. PowerShell Studio, PoshGUI
  2. VSCode is more flexible and is the successor to the ISE, thus it is an inherently better tool.
  3. It is installed by default Server 2008 R2 onward.
  4. It can be downloaded from code.visualstudio.com
  5. Enable Git if necessary, install the PowerShell extension, customize.
  6. IntelliSense is a feature of both the ISE and VS Code that enables autocompletion features.
  7. Git is a source control system. It makes sense to work with Git when contributing to open source projects or when developing with multiple people.
  1. Both support the F5 key as well as a Debug menu to start a script. Both also support using the F8 key to execute a selection.
  2. Both support setting breakpoints with F9 or the Debug menu.