Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Windows Server 2019, Third Edition - Third Edition

You're reading from  Mastering Windows Server 2019, Third Edition - Third Edition

Product type Book
Published in Jul 2021
Publisher Packt
ISBN-13 9781801078313
Pages 690 pages
Edition 3rd Edition
Languages
Concepts
Author (1):
Jordan Krause Jordan Krause
Profile icon Jordan Krause

Table of Contents (19) Chapters

Preface 1. Getting Started with Windows Server 2019 2. Installing and Managing Windows Server 2019 3. Active Directory 4. DNS and DHCP 5. Group Policy 6. Certificates in Windows Server 2019 7. Networking with Windows Server 2019 8. Remote Access 9. Hardening and Security 10. Server Core 11. PowerShell 12. Redundancy in Windows Server 2019 13. Containers and Nano Server 14. Hyper-V 15. Troubleshooting Windows Server 2019 16. Other Books You May Enjoy
17. Index
Appendix: Answers to the end-of-chapter Questions

Using a pipeline

Following the last couple of example cmdlets that we ran, you may be thinking to yourself, "I see that he is using that vertical line on the key above Enter on my keyboard, but why?"

Great question. In Command Prompt, we generally issue one command at a time. The same is often true for PowerShell when we are manually interacting with it, but in PowerShell, we have the potential for so much more power. One of those items of power is the ability to create a pipeline of commands. In other words, you can connect, or chain, commands together. This is commonly referred to as piping information from one cmdlet to another cmdlet and is done by using that little |.

Cmdlets often output data. If you then want to utilize that set of data against another cmdlet, this is where the pipe comes in handy. In our last example command, we told PowerShell to gather all of the commands that included the word Restart by performing Get-Command -Name *Restart*. Then we...

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}