Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Powershell Core 6.2 Cookbook

You're reading from  Powershell Core 6.2 Cookbook

Product type Book
Published in Apr 2019
Publisher Packt
ISBN-13 9781789803303
Pages 372 pages
Edition 1st Edition
Languages
Author (1):
Jan-Hendrik Peters Jan-Hendrik Peters
Profile icon Jan-Hendrik Peters
Toc

Table of Contents (14) Chapters close

Preface 1. Introduction to PowerShell Core 2. Reading and Writing Output 3. Working with Objects 4. Mastering the Pipeline 5. Importing, Using, and Exporting Data 6. Windows and Linux Administration 7. Windows Server Administration 8. Remoting and Just Enough Administration 9. Using PowerShell for Hyper-V and Azure Stack Management 10. Using PowerShell with Azure and Google Cloud 11. Accessing Web Services 12. High-Performance Scripting 13. Other Books You May Enjoy

Reading and Writing Output

Working with output and data is the most common thing you'll be doing in PowerShell. From generating data for reports, to quickly reviewing a system's status, to the bulk-insertion of values into a database table: everything has to do with data and output.

We'll cover a lot of ground in this chapter and, with simple recipes, you'll see how to access the certificate stores, the registry on a Windows machine and the filesystem on any OS. You'll also learn how to properly work with variables.

In this chapter, we'll cover the following recipes:

  • Working with output
  • Storing data
  • Read-only and constant variables
  • Variable scoping
  • The six streams
  • Stream redirection
  • Working with the filesystem provider
  • Working with the registry provider
  • Working with the certificate provider
  • Creating your own provider
  • NTFS alternate data streams
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}