Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PowerShell Core for Linux Administrators Cookbook

You're reading from   PowerShell Core for Linux Administrators Cookbook Use PowerShell Core 6.x on Linux to automate complex, repetitive, and time-consuming tasks

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789137231
Length 566 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ram Iyer Ram Iyer
Author Profile Icon Ram Iyer
Ram Iyer
Prashanth Jayaram Prashanth Jayaram
Author Profile Icon Prashanth Jayaram
Prashanth Jayaram
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Introducing PowerShell Core FREE CHAPTER 2. Preparing for Administration Using PowerShell 3. First Steps in Administration Using PowerShell 4. Passing Data through the Pipeline 5. Using Variables and Objects 6. Working with Strings 7. Flow Control Using Branches and Loops 8. Performing Calculations 9. Using Arrays and Hashtables 10. Handling Files and Directories 11. Building Scripts and Functions 12. Advanced Concepts of Functions 13. Debugging and Error Handling 14. Enterprise Administration Using PowerShell 15. PowerShell and Cloud Operations 16. Using PowerShell for SQL Database Management 17. Using PowerShell with Docker 18. Other Books You May Enjoy

What this book covers

Chapter 1, Introducing PowerShell Core, introduces PowerShell Core. The chapter covers the installation of PowerShell and the basic setup, along with an introduction to objects.

Chapter 2, Preparing for Administration Using PowerShell, helps to understand how PowerShell behaves, how to efficiently write commands by reducing keystrokes, and how redirection works.

Chapter 3, First Steps in Administration Using PowerShell, introduces the basic utilities, such as finding and working with processes running in the system.

Chapter 4, Passing Data through the Pipelines, demonstrates how the pipeline works, and how to leverage it to work with the returned objects.

Chapter 5, Using Variables and Objects, focuses on the built-in variables, the environment, and working with objects, including extending existing objects and creating custom ones.

Chapter 6, Working with Strings, introduces the string as an object, and walks through string manipulation using operators as well as the methods built into the string objects.

Chapter 7, Flow Control Using Branches and Loops, walks through using branching and looping constructs to control the flow of scripts and functions.

Chapter 8, Performing Calculations, briefly demonstrates how to work with numbers by performing arithmetic operations, calculations, and conversions, along with introducing the administrative constants.

Chapter 9, Using Arrays and Hashtables, explains how arrays and hash tables are created, used, and manipulated in PowerShell.

Chapter 10, Handling Files and Directories, focuses on file and directory operations, such as sending and retrieving content to and from a file, searching for content, and working with structured as well as unstructured files.

Chapter 11, Building Scripts and Functions, begins with creating a simple script and then proceeds to writing functions that accept arguments.

Chapter 12, Advanced Concepts of Functions, extends the knowledge gained in the previous chapters and introduces the concepts of parameters, parameter aliases and sets, working with dependencies, adding help, and so on, in order to create functions that behave like cmdlets.

Chapter 13, Debugging and Error Handling, shows how to work with, and handle, errors and warnings, and walks through how to use the debug tab of Visual Studio Code.

Chapter 14, Enterprise Administration Using PowerShell, covers how to set up PowerShell for remote access and enterprise administration. It explains the use of PowerShell across Windows and Linux environments.

Chapter 15, PowerShell and Cloud Operations, aims at getting started with cloud administration using PowerShell. This chapter introduces the use of PowerShell on Azure and AWS cloud services.

Chapter 16, Using PowerShell for SQL Database Management, introduces PowerShell for SQL database management, starting from the installation of the SQL Server module through to integrating Python with PowerShell for database management.

Chapter 17, Using PowerShell with Docker, explains the implementation of Docker management using PowerShell. Coupled with the understanding gained in Chapter 1, Introducing PowerShell Core, this chapter explains how to use the Docker module, as well as using the Docker API with .NET Core.

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 $19.99/month. Cancel anytime
Banner background image