Home Page Icon
Home Page
Table of Contents for
Enterprise Administration using PowerShell
Close
Enterprise Administration using PowerShell
by Ram Iyer, Prashanth Jayaram
PowerShell 6.0 Linux Administration Cookbook
Preface
What this book covers
Installation, Reference and Help
Introduction
Installing PowerShell
Getting Ready
How to do it...
Installation on Ubuntu
Installing from the repository
Installing via direct download
Installation on CentOS
Installing from the repository
Installing via direct download
Using the AppImage package
How it works...
See also
Fetching Help Information in PowerShell
Fetching Help Information for a Specific Cmdlet
How to do it...
How it works...
See also
Updating Help
How to do it...
How it works...
Searching Help for Keywords
How to do it...
How it works...
Looking for help information specific to a parameter
How to do it...
How it works...
Exploring the About_ Topics
How to do it...
How it works...
Discovering Cmdlets
How to do it...
How it works...
Finding Modules
How to do it...
How it works...
Installing Modules from the Repository
How to do it...
How it works...
See also
Listing the Various Providers in PowerShell
How to do it...
How it works...
See also
Introducing the Core and its Capabilities
Introduction
Dissecting a .NET Core Object
Getting Ready
How to do it...
How it works...
There's more...
See also
Breaking down an output into different objects
Getting Ready
How to do it...
How it works...
See also
Parsing input from text to object
Getting Ready
How to do it...
How it works...
There's more...
See also
Comparing the outputs of Bash and PowerShell
Getting Ready
How to do it...
How it works...
See also
Comparing Windows PowerShell and PowerShell
Support for snap-ins
Convenience aliases
PowerShell Workflows
PowerShell Desired State Configuration
Listing out the aliases and using them in place of cmdlets
How to do it...
How it works...
See also
Creating a Custom Alias
How to do it...
How it works...
There's more...
See also
Export/Import Custom Aliases for Future Use
Getting Ready
How to do it...
How it works...
See also
Listing out the execution policies and setting a suitable one
Getting Ready
How to do it...
How it works...
See also
Preparing for Administration using PowerShell
Introduction
Installing Visual Studio Code
Getting Ready
How to do it...
How it works...
See also
Configuring automatic variables
Getting Ready
How to do it...
How it works...
Changing the shell behaviour using a variable
Getting Ready
How to do it...
How it works...
See also
Enabling automated execution of commands for each load
Getting Ready
How to do it...
How it works...
There's more...
Customising the terminal prompt
Getting Ready
How to do it...
How it works...
There's more...
See also
Understanding standard redirection in PowerShell
How to do it...
How it works...
Out-File
Tee-Object
Accepting input from file
There's more...
See also
Calling native Linux commands from PowerShell
Getting started
How to do it...
How it works...
See also
Understanding cmdlets and parameters
Getting Ready
How to do it...
How it works...
There's more
Running cmdlets with minimal keystrokes
Getting Ready
How to do it...
How it works...
There's more...
Finding parameter aliases
Getting Ready
How to do it...
How it works...
Calling a PowerShell script
Getting Ready
How to do it...
How it works...
Dot-sourcing a PowerShell script
How to do it...
How it works...
There's more...
Calling a PowerShell cmdlet from outside of PowerShell
How to do it...
How it works...
Recording the cmdlets run on the PowerShell console
How to do it...
How it works...
First Steps in Administration using PowerShell
Introduction
Working with date properties
Getting Ready
How to do it...
How it works...
See also
Working with date and time functions
How to do it...
How it works...
Working with currently-running processes to measure resource consumption
How to do it...
How it works...
Launching and stopping a process
Getting Ready
How to do it...
How it works...
Finding the owner of a process
How to do it...
How it works...
There's more...
See also
Invoking an application based on the file type
How to do it...
How it works...
Installing the Crontab PowerShell module 
How to do it...
How it works...
Scheduling jobs in PowerShell
Getting Ready
How to do it...
How it works...
Removing the jobs in PowerShell
How to do it...
How it works...
Passing Data through the Pipeline
Introduction
Selecting columns from the output
Getting Ready
How to do it...
How it works...
There's more...
See also
Limiting the number of output objects
Getting ready
How to do it...
How it works...
Expanding the properties within properties
How to do it...
How it works...
Filtering objects
Getting ready
How to do it...
How it works...
There's more...
Grouping the output
How to do it...
How it works...
There's more...
See also
Sorting the output
How to do it...
How it works...
Taking actions on the returned objects
Getting Ready
How to do it...
How it works...
Understanding pipeline-enabled parameters
How to do it...
How it works...
Importing content into PowerShell
How to do it...
How it works...
See also
Using Variables and Objects
Introduction
Using environment variables 
How to do it...
How it works...
There's more...
See also
Storing the output of an instance of a .NET Core Object
Getting Ready
How to do it...
How it works...
See also
Adding custom properties to an object
How to do it...
How it works...
See also
Creating a custom object from a returned object
How to do it...
How it works...
See also
Understanding extension of Type Data
Getting ready
How to do it...
How it works...
See also
Retaining object modifications across sessions
Getting Ready
How to do it...
How it works...
See also
Removing custom type data
How to do it...
How it works...
See also
Flow Control using Branches and Loops
Introduction
Using If–ElseIf–Else conditions to control script flow
Getting Ready
How to do it...
How it works...
Using Switch–Case conditions to control script flow
How to do it...
How it works...
Learning to use delays
How to do it...
How it works...
Writing a basic looping construct
How to do it
How it works...
Writing a more complex loop on a predefined array
How to do it...
How it works...
Using the For loop construct
How to do it...
How it works...
Using the While loop construct
How to do it
How it works...
Cleaning empty directories using the Do–While construct
Getting ready
How to do it...
How it works...
See also
Cleaning empty directories using the Do–Until construct
How to do it...
How it works...
Working with Strings
Performing Calculations
Technical Requirements
Introduction
Performing arithmetic operations
Getting Ready
How to do it...
How it works...
See also
Performing calculations on the output
Getting ready
How to do it
How it works
There's more
Working with Administrative Constants
Getting ready
How to do it
How it works
Working with calculated properties
Getting ready
How to do it
How it works
Working with binary numbers
How to do it
How it works
Performing base conversion
How to do it
How it works
There's more
Using Arrays and Hash Tables
Handling Files and Directories
Building Scripts and Functions
Advanced Concepts of Functions
Getting Under the Hood: Debugging and Error Handling
Working with the Environment
Security in PowerShell
Enterprise Administration using PowerShell
Best Practices Round-up
PowerShell and Cloud Operations
Using PowerShell for SQL Database Management
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Security in PowerShell
Next
Next Chapter
Best Practices Round-up
Enterprise Administration using PowerShell
Coming soon...
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset