Skip to content
You are not logged in |Login  
     
Limit search to available items
62 results found. sorted by date .
Record:   Prev Next
Resources
More Information
Bestseller
BestsellerE-book
Author Dent, Chris, author.

Title Mastering PowerShell scripting : automate and manage your environment using PowerShell 7.1 / Chris Dent.

Publication Info. Birmingham : Packt Publishing, 2021.

Item Status

Edition Fourth edition.
Description 1 online resource
Contents Intro -- Copyright -- Contributors -- Table of Contents -- Preface -- Chapter 1: Introduction to PowerShell -- What is PowerShell? -- PowerShell editors -- Getting help -- Updatable help -- The Get-Help command -- Syntax -- Examples -- Parameter -- Detailed and Full switches -- Save-Help -- Update-Help -- About_* help files -- Command naming and discovery -- Verbs -- Nouns -- Finding commands -- Aliases -- Parameters, values, and parameter sets -- Parameters -- Optional parameters -- Optional positional parameters -- Mandatory parameters -- Mandatory positional parameters -- Switch parameters
Parameter values -- Parameter sets -- Common parameters -- Confirm and WhatIf -- Confirm and ConfirmPreference -- WhatIf and WhatIfPreference -- Force parameter -- PassThru parameter -- Introduction to providers -- Drives and providers -- Introduction to splatting -- Splatting to avoid long lines -- Conditional use of parameters -- Splatting to avoid repetition -- Splatting and positional parameters -- Parser modes -- Experimental features -- Summary -- Chapter 2: Modules and Snap-Ins -- Introducing modules -- The Get-Module command -- The Import-Module command -- The Remove-Module command
PSModulePath in PowerShell -- Using Windows PowerShell modules in PowerShell 7 -- Finding and installing modules -- What is the PowerShell Gallery? -- The Find-Module command -- The Install-Module command -- The Update-Module command -- The Save-Module command -- PowerShellGet 3.0 -- Repositories -- Version ranges -- PowerShell repositories -- Creating an SMB repository -- NuGet repositories -- About snap-ins -- Summary -- Chapter 3: Working with Objects in PowerShell -- Pipelines -- Standard output -- Non-standard output -- The object pipeline -- Members -- The Get-Member command
Accessing object properties -- Access modifiers -- Using methods -- The Add-Member command -- Enumerating and filtering -- The ForEach-Object command -- Begin and End parameters -- The Parallel parameter -- The MemberName parameter -- The Where-Object command -- Selecting and sorting -- The Select-Object command -- Calculated properties -- The ExpandProperty parameter -- The Unique parameter -- Property sets -- The Sort-Object command -- Grouping and measuring -- The Group-Object command -- The Measure-Object command -- Comparing -- Importing, exporting, and converting -- The Export-Csv command
The Import-Csv command -- Export-Clixml and Import-Clixml -- The Tee-Object command -- Summary -- Chapter 4: Operators -- Arithmetic operators -- Operator precedence -- Addition and subtraction operators -- Addition operator -- Subtraction operator -- Multiplication, division, and remainder operators -- Multiplication operator -- Division operator -- Remainder operator -- Assignment operators -- Assign, add and assign, and subtract and assign -- Multiply and assign, divide and assign, and modulus and assign -- Statements can be assigned to a variable -- Comparison operators -- Case sensitivity
Summary This complete guide takes you on a tour of PowerShell from the basics to its advanced functionality, helping you automate your tedious and time-consuming system admin tasks Key Features Automate complex tasks, manipulate data, and secure your environment Work with dual code for PowerShell 7 and Windows PowerShell to maintain compatibility with older versions See PowerShell in action, from learning the fundamentals to creating classes, scripts, and modules Book DescriptionPowerShell scripts offer a convenient way to automate various tasks, but working with them can be daunting. Mastering PowerShell Scripting takes away the fear and helps you navigate through PowerShell's capabilities.This extensively revised edition includes new chapters on debugging and troubleshooting and creating GUIs (online chapter). Learn the new features of PowerShell 7.1 by working with parameters, objects, and .NET classes from within PowerShell 7.1. This comprehensive guide starts with the basics before moving on to advanced topics, including asynchronous processing, desired state configuration, using more complex scripts and filters, debugging issues, and error-handling techniques. Explore how to efficiently manage substantial amounts of data and interact with other services using PowerShell 7.1. This book will help you to make the most of PowerShell's automation features, using different methods to parse data, manipulate regular expressions, and work with Windows Management Instrumentation (WMI). What you will learn Optimize code with functions, switches, and looping structures Test and debug your scripts as well as raising and catching errors Work with objects and operators to test and manipulate data Parse and manipulate different data types Use jobs, runspaces, and runspace pools to run code asynchronously Write .NET classes with ease within PowerShell Create and implement regular expressions in PowerShell scripts Make use of advanced techniques to define and restrict the behavior of parameters Who this book is for This book is for system administrators who want to automate and speed up their processes using PowerShell and Windows PowerShell. You'll need to know the basics of operating systems, but beginners with no prior experience with PowerShell will have no trouble following along.
Local Note eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America
Subject Windows PowerShell (Computer program language)
Windows PowerShell (Computer program language)
Other Form: Print version: 9781800206540
ISBN 9781800208575 (ebook)
180020857X
9781800206540 (pbk.)