• Complain

Blawat Brenton J. W. - Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks

Here you can read online Blawat Brenton J. W. - Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Birmingham, year: 2017, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Blawat Brenton J. W. Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks
  • Book:
    Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2017
  • City:
    Birmingham
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Comma--Format -- Increment and decrement -- Join -- Summary -- Chapter 6: Variables, Arrays, and Hashtables -- Naming and creating variables -- Variable commands -- Clear-Variable -- Get-Variable -- New-Variable -- Remove-Variable -- Set-Variable -- Variable scope -- Local and Global scope -- Private scope -- Script scope -- Type and type conversion -- Objects assigned to variables -- Arrays -- Creating an array -- Arrays with a type -- Adding elements to an array -- Selecting elements from an array -- Changing element values in an array -- Removing elements from an array -- Removing elements by index -- Removing elements by value -- Clearing an array -- Filling variables from arrays -- Multi-dimensional and jagged arrays -- Hashtables -- Creating a hashtable -- Adding and changing elements to a hashtable -- Selecting elements from a hashtable -- Enumerating a hashtable -- Removing elements from a hashtable -- Lists, dictionaries, queues, and stacks -- Lists -- Creating a list -- Adding elements to the list -- Selecting elements from the list -- Removing elements from the list -- Changing element values in a list -- Dictionaries -- Creating a dictionary -- Adding and changing elements in a dictionary -- Selecting elements from a dictionary -- Enumerating a dictionary -- Removing elements from a dictionary -- Queues -- Creating a queue -- Enumerating the queue -- Adding elements to the queue -- Removing elements from the queue -- Stacks -- Creating a stack -- Enumerating the stack -- Adding elements to the stack -- Removing elements from the stack -- Summary -- Chapter 7: Branching and Looping -- Conditional statements -- If, else, and elseif -- Assignment within if statements -- Switch -- Wildcard and Regex;Expressions--Loops -- Foreach -- For -- Do until and do while -- While -- Break and continue -- Summary -- Chapter 8: Working with .NET -- Assemblies -- Namespaces -- Types -- Classes -- Constructors -- Calling constructors -- Calling constructors with lists of arguments -- Arguments as an array -- Properties and methods -- Static properties -- Static methods -- Non-public classes -- Type accelerators -- Using -- Using assemblies -- Using namespaces -- Summary -- Chapter 9: Data Parsing and Manipulation -- String manipulation -- Indexing into strings -- String methods and arrays -- Substring -- Split -- Replace -- Trim, TrimStart, and TrimEnd -- Insert and Remove -- IndexOf and LastIndexOf -- PadLeft and PadRight -- ToUpper, ToLower, and ToTitleCase -- Contains, StartsWith, and EndsWith -- Chaining methods -- Converting strings -- Working with Base64 -- How Base64 works -- Working with CSV -- Convert-String -- ConvertFrom-String -- Number manipulation -- Large byte values -- Power-of-10 -- Hexadecimal -- Using System. Math -- Converting strings to numeric values -- Date and time manipulation -- DateTime parameters -- Parsing dates -- Changing dates -- Comparing dates -- Summary -- Chapter 10: Regular Expressions -- Regex basics -- Debugging regular expressions -- Literal characters -- Any character (.) -- Repetition with * and + -- The escape character () -- Optional characters -- Non-printable characters -- Anchors -- Repetition -- Exploring the quantifiers -- Character classes -- Ranges -- Negated character class -- Character class subtraction -- Shorthand character classes -- Alternation -- Grouping -- Repeating groups -- Restricting alternation -- Capturing values;The Remove-Module command--The Find-Module command -- The Install-Module command -- The Save-Module command -- What is a snap-in? -- Using snap-ins -- Summary -- Chapter 4: Working with Objects in PowerShell -- Pipelines -- Standard output -- Non-standard output -- The object pipeline -- Members -- The Get-Member command -- Accessing properties -- Using methods -- Access modifiers -- The Add-Member command -- Enumerating and filtering -- The ForEach-Object command -- Where-Object command -- Selecting and sorting -- The Select-Object command -- 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 -- Summary -- Chapter 5: Operators -- Arithmetic operators -- Operator precedence -- Addition and subtraction operators -- Multiplication, division, and modulus operators -- Shift left and shift right operators -- Assignment operators -- Assign, add and assign, and subtract and assign -- Multiply and assign, divide and assign, and modulus and assign -- Comparison operators -- Case-sensitivity -- Comparison operators and arrays -- Equal to and not equal to -- Like and not like -- Greater than and less than -- Contains and in -- Regular-expression-based operators -- Match and not match -- Replace -- Split -- Binary operators -- Binary and -- Binary or -- Binary exclusive or -- Binary not -- Logical operators -- And -- Or -- Exclusive or -- Not -- Type operators -- As -- Is and isnot -- Redirection operators -- Redirection to a file -- Redirecting streams to standard output -- Redirection to null -- Other operators -- Call;Cover --Copyright -- Credits -- About the Authors -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Introduction to PowerShell -- What is PowerShell? -- Quick reference -- Comments -- Special characters -- Tick in PowerShell -- Common operators -- Dropping unwanted output -- Creating arrays and hashtables -- Strings -- Common reserved variables -- Quick commands and hot keys -- PowerShell editors -- PowerShell ISE -- Features -- Installing ISE Preview -- Starting ISE -- Visual Studio Code -- Features -- Console -- Version control (Git) -- PowerShell on Linux -- Installing PowerShell -- Where are the PowerShell files? -- Changing the shell -- Profiles -- Multiplatform scripting -- Line endings -- File encoding -- Path separator -- Example -- Summary -- Chapter 2: Working with PowerShell -- 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 and parameter sets -- Parameters -- Optional parameters -- Optional positional parameters -- Mandatory parameters -- Mandatory positional parameters -- Switch parameters -- Common parameters -- Parameter values -- Parameter sets -- Confirm, WhatIf, and Force -- Confirm parameter -- ConfirmPreference -- WhatIf parameter -- WhatIfPreference -- Force parameter -- Providers -- Drives using providers -- Using providers -- Summary -- Chapter 3: Modules and Snap-Ins -- What is a module? -- What is the PowerShell Gallery? -- The Get-Module command -- The Import-Module command;Named capture groups--Non-capturing groups -- Examples of regular expressions -- MAC addresses -- IP addresses -- Netstat command -- Summary -- Chapter 11: Files, Folders, and the Registry -- Working with providers -- Navigating -- Getting items -- Drives -- Items -- Testing existence -- Creating and deleting items -- Invoking items -- Item properties -- Filesystem properties -- Adding and removing file attributes -- Registry values -- Permissions -- Ownership -- Access and audit -- Rule protection -- Inheritance and propagation flags -- Removing access control entries -- Copying lists and entries -- Adding access control entries -- Filesystem rights -- Registry rights -- Transactions -- File catalogs -- New-FileCatalog -- Test-FileCatalog -- Summary -- Chapter 12: Windows Management Instrumentation -- Working with WMI -- WMI classes -- WMI commands -- The WMI Query Language -- Understanding SELECT, WHERE, and FROM -- Escape sequences and wildcard characters -- Logic operators -- Comparison operators -- Quoting values -- Associated classes -- WMI object path -- Using ASSOCIATORS OF -- CIM cmdlets -- Getting instances -- Getting classes -- Calling methods -- Creating instances -- Working with CIM sessions -- Associated classes -- The WMI cmdlets -- Getting instances -- Working with dates -- Getting classes -- Calling methods -- Creating instances -- Associated classes -- Permissions -- Sharing permissions -- Creating a shared directory -- Getting a security descriptor -- Adding an access control entry -- Setting the security descriptor -- WMI permissions -- Getting a security descriptor -- The access mask -- WMI and SDDL -- Summary -- Chapter 13: HTML, XML, and JSON -- HTML -- ConvertTo-Html

Blawat Brenton J. W.: author's other books


Who wrote Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks? Find out the surname, the name of the author of the book and a list of all author's works by series.

Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Mastering Windows PowerShell Scripting

Mastering Windows PowerShell Scripting

Copyright 2015 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: April 2015

Production reference: 1210415

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78217-355-7

www.packtpub.com

Credits

Author

Brenton J.W. Blawat

Reviewers

Tim Amico

Christophe CRMON

Tomas Restrepo

Acquisition Editor

Meeta Rajani

Content Development Editor

Rohit Singh

Technical Editor

Tanvi Bhatt

Copy Editors

Hiral Bhat

Sonia Mathur

Vikrant Phadke

Alpha Singh

Project Coordinator

Mary Alex

Proofreaders

Simran Bhogal

Safis Editing

Maria Gould

Paul Hindle

Indexer

Rekha Nair

Production Coordinator

Alwin Roy

Cover Work

Alwin Roy

Foreword

We all appreciate a little simplicity when it enters our busy, complicated lives. Technology is no different. In fact, that is what we expect from technologyit should simplify our lives. But it doesn't always work that way.

Sometimes technology can introduce vexing problems we don't anticipate.

With every version of Microsoft DOS and then Windows, Microsoft included separate command-line interface shells. The shell could automate some tasks, but not all of them. Some tasks had to be accomplished manually, which is antitheticalnearly hereticalto our understanding of technology's role.

What should have been simple, automated tasks became slow, frustrating, and manual chores. That conundrum didn't go unnoticed.

Microsoft provided much-needed simplicity when it introduced PowerShell in 2006. Task automation and configuration management eliminated a great deal of time-consuming manual work. In short, PowerShell was a game changer.

PowerShell has solved many of the command-line and scripting issues that complicated our work. It introduced simplicity. It helped organizations become more agile, more productive, and save money. PowerShell is a powerful tool, and it has demonstrated its practical value many times.

Despite its utility, though, PowerShell remains a confusing tool to many IT administrators, and the need for greater clarity remains.

It is through this lens that Mr. Brenton Blawat provides an insightful new analysis of PowerShella valuable guidebook for those who struggle to understand PowerShell. Others have offered narratives that attempt to explain PowerShell, but they rarely provide the roadmap, background, or context that administrators need to get from Point A to Point B.

So, this is the right time for a comprehensive new analysis.

In general terms, Mr. Blawat's book will help those who struggle to manage their compute environments. It includes important guidance on programming in PowerShell, starting with basic concepts and then introducing advanced configurations.

Mr. Blawat deconstructs and demystifies this programming language, sharing his intimate knowledge in a format that demonstrates the clarity of thought and prose that a difficult subject requires. Many authors have attempted this climb, but only Mr. Blawat has reached the summit. His examination provides relevant information for administrators who work withand sometimes struggle withPowerShell on a daily basis.

As Mr. Blawat explains in the following pages, the rapid adoption of cloud-based technologies paralleled the never-ending need for additional computing power in data centers. This created the need to efficiently build and expand systems with extreme precision. In addition to provisioning the base systems, there was a need to dynamically customize these new systems to work in unison with current running environments.

This drove the need for the next generation system automation languages that would provide full configuration for systems on the fly. Not only do these automation languages greatly reduce time to use, but they also ensure that no mistakes are made during the configuration process. All systems are created equally.

PowerShell is a .NET-based next generation automation language that provides both systems provisioning and management functionality for Windows-based systems. Leveraging command-line like interactions, PowerShell can be compiled into scripts that can systematically execute tasks on a system. Not limited to creating new systems, engineers are leveraging PowerShell to automate mundane tasks so that they can focus on other pressing activities in their environments.

Microsoft has fully embraced PowerShell in its full software portfolio to offer full integration with its products. Not only can you dynamically install the Microsoft software, but you can also fully manage the entire Microsoft software environment using PowerShell. PowerShell has also been embraced by third-party manufacturers through the integration of PowerShell modules. These modules provide full management capabilities for products such as network devices, storage subsystems, virtualization guests and hosts, security appliances, and other third-party applications.

Like many organizations, CDW has benefitted greatly from PowerShell, so this book hits very close to home for me. We use PowerShell scripts to manage customer environments in managed services and the installation of management tools.

We use Microsoft Orchestrator to provide back-end logic for simple user interfaces for help desk activities, like user-driven password resets and user-driven software installations. We also rely on Microsoft Orchestrator to automatically troubleshoot and remediate systems.

CDW's customers also benefit from PowerShell in myriad ways. We assist a wide variety of Fortune 500 clients to develop PowerShell automation scripts to build new systems and manage their environments, including health check scripts, systems discovery, and advanced regulatory security analysis.

Clearly, PowerShell's incredible utility has made it invaluable to CDW, our customers, and countless organizations across the globe. But understanding all of its many facets represents a daunting task. Organizations are unable to leverage PowerShell if they don't fully understand its potential.

That's where Mr. Blawat excels.

Mr. Blawat's comprehensive new work will serve as a reference tool for engineers who work with Windows by taking the mystery out of common tasks that aren't easily understood and aren't always intuitive. Diligent readers will no doubt find many more reasons to give Mr. Blawat's thorough narrative a prominent place on their bookshelves.

As Mr. Blawat's coworker, I also feel proud that he is sharing his knowledge with the worldnot only so others can benefit from his experience, but so they can see what those of us who work with him at CDW witness on a daily basis.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks»

Look at similar books to Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks»

Discussion, reviews of the book Mastering Windows PowerShell Scripting one-stop guide to automating administrative tasks and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.