• Complain

Vikas Sukhija - PowerShell Fast Track: Hacks for Non-Coders

Here you can read online Vikas Sukhija - PowerShell Fast Track: Hacks for Non-Coders full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Apress, 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.

Vikas Sukhija PowerShell Fast Track: Hacks for Non-Coders
  • Book:
    PowerShell Fast Track: Hacks for Non-Coders
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2021
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

PowerShell Fast Track: Hacks for Non-Coders: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "PowerShell Fast Track: Hacks for Non-Coders" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Create complex scripts in PowerShell and learn how to connect them to cloud services like Azure and Azure AD. This book will help you learn PowerShell by providing small cheat snippets that you can combine to write efficient and effective scripts.

PowerShell Fast Track starts with the basics of PowerShell before moving on to discuss functions like date and logs, along with concepts such as inputs for your scripts. Author Vikas Sukhija then walks you through interactive input and Snapins modules, where you will learn GUI button prompts and how to import sessions. Hell then show you how to report errors through email and log errors to a text file. Reporting CSV (Comma Separate Value) is discussed next, followed by a demonstration of miscellaneous functions, including how to connect your PowerShell scripts with Azure, SharePoint, Teams and other services. As you progress further, youll see how PowerShell provides powerful features for automation that can be leveraged for managing your Teams workload. Finally, using practical examples, you will learn how to implement and create scripts for day-to-day usage.

After reading this book, you will be able to hit the ground running and use PowerShells powerful features in your own work.

What Will You Learn:

  • Utilize code Snippets to perform practical tasks
  • Combine the code to create more complex scripts.
  • Logging and reporting
  • Connect to various products such as Exchange, SharePoint, Teams, and AzureAD

Who Is This Book For:

System administrators

Vikas Sukhija: author's other books


Who wrote PowerShell Fast Track: Hacks for Non-Coders? Find out the surname, the name of the author of the book and a list of all author's works by series.

PowerShell Fast Track: Hacks for Non-Coders — 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 "PowerShell Fast Track: Hacks for Non-Coders" 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
Contents
Landmarks
Book cover of PowerShell Fast Track Vikas Sukhija PowerShell Fast Track - photo 1
Book cover of PowerShell Fast Track
Vikas Sukhija
PowerShell Fast Track
Hacks for Non-Coders
1st ed.
Logo of the publisher Vikas Sukhija Waterloo ON Canada ISBN - photo 2
Logo of the publisher
Vikas Sukhija
Waterloo, ON, Canada
ISBN 978-1-4842-7758-4 e-ISBN 978-1-4842-7759-1
https://doi.org/10.1007/978-1-4842-7759-1
Vikas Sukhija 2022
This work is subject to copyright. All rights are solely and exclusively licensed by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This Apress imprint is published by the registered company APress Media, LLC part of Springer Nature.

The registered company address is: 1 New York Plaza, New York, NY 10004, U.S.A.

Introduction

This small book is full of small scripts that can be used by system administrators to improve the efficiency of their day-to-day IT operations. PowerShell Fast Track is for experienced IT administrators who want to utilize scripting and implement IT automations. Just copy/paste code blocks from the book/links to make simple to complex scripts. You can consider it your own personal scripting cheat book, like the cheat codes gamers utilize to ace electronic games. What it really is, however, is a practical guide, because it will get you started in automating much of your work.

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484277584. For more detailed information, please visit www.apress.com/source-code.

Table of Contents
About the Author
Vikas Sukhija
has over a decade of IT infrastructure experience with expertise in messaging - photo 3
has over a decade of IT infrastructure experience with expertise in messaging, collaboration, and IT automation utilizing PowerShell, PowerApps , Power Automate, and other tools. He is currently working as a Global Director at Golden Five Consulting in Canada. He is also a blogger, architect, and Microsoft MVP. He is known by the name TechWizard. As an experienced professional, he assists small to large enterprises in architecting, implementing, and automating Microsoft 365 and Azure.
About the Technical Reviewer
Arun Sharma
is a techno-strategic leader and carries deep experience in development - photo 4
is a techno-strategic leader and carries deep experience in development consulting, cloud, AI, and the IoT space. He is currently associated with Fresh & Pure, an agritech startup, in the position of Director Program Management-Automation and AI. He has expertise in various technologies (Microsoft Azure, AWS, Ali Cloud), IoT, ML, microservices, bots, Dynamics 365, PowerPlatform, SAP Crystal Reports, DevOps, Docker, and containerization. He has more than 20 years of experience in a wide range of roles such as GM-Paytm, Delivery Manager at Microsoft, Product Manager at Icertis, Lead and Architect Associate at Infosys, Executive Trainer at Aptech, and Development Consultant at CMC. He has managed CXO-level relationships on strategic levels, sales, cloud consumption, consulting services, and adoption with medium- and large-size global customers.
The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. Sukhija PowerShell Fast Track https://doi.org/10.1007/978-1-4842-7759-1_1
1. PowerShell Basics
Vikas Sukhija
(1)
Waterloo, ON, Canada

Lets start with basic elements and quickly review variables, loops, if/else statements, switches, and functions. These are the heart of any scripting language, and will assist you in creating simple to complex scripts.

I will not delve into PowerShell versions or what PowerShell is. (But here is an easy-to-understand definition without going into depth: PowerShell is a task automation solution made up of a command-line shell and a scripting language.) I also wont talk about what platforms it can be used on or get and set commands, because this is not an in-depth book for learning the language.

The intent of this book is to teach you how to create scripts without having a deep knowledge of under-the-hood elements. This is an approach Ive used successfully with many students. They gradually became well-versed with the language.

Not everyone is from a programming background and not everyone is adept at creating code. However, by following the approach described in this book, you will be able to quickly create your own scripts and automate IT systems/processes.

Note

All source code used in the book can be accessed by clicking the Download Source Code button located at www.apress.com/9781484277584 (follow the listing numbers).

Variables and Printing
To begin, you need to understand the basics, which include variables and arrays. Every variable in PowerShell starts with a dollar sign ($), such as
$a = "1"
$b = "Vikas"
When you type $a and $b , values will be displayed, as shown in Figure .
Figure 1-1 Variables in PowerShell Now you can use Write-host to print this to - photo 5
Figure 1-1

Variables in PowerShell

Now you can use Write-host to print this to the screen:
Input: PS C:\> Write-host $a
Output: 1
Input: PS C:\> Write-host $b
Output: vikas
Tip

Make it a rule to use quotes when assigning values to variables, as shown above in the two examples.

Lets change the foreground color of what is being displayed by Write-host :
Input: PS C:\> Write-host $b -ForegroundColor Green
Output: vikas
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «PowerShell Fast Track: Hacks for Non-Coders»

Look at similar books to PowerShell Fast Track: Hacks for Non-Coders. 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 «PowerShell Fast Track: Hacks for Non-Coders»

Discussion, reviews of the book PowerShell Fast Track: Hacks for Non-Coders 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.