Normal view MARC view ISBD view

PowerShell fast track : hacks for non-coders / Vikas Sukhija

By: Sukhija, Vikas.
Contributor(s): Ohio Library and Information Network.
Publisher: Berkeley, CA : Apress L. P., ©2022Description: 144 p.Content type: text Media type: unmediated Carrier type: volumeISBN: 9781484277584.Subject(s): Windows PowerShell (Computer program language) | Computer programmingGenre/Form: Print books.
Contents:
Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Introduction -- Chapter 1: PowerShell Basics -- Variables and Printing -- If/Else Switch -- Conditional/Logical Operators -- Logical Operators -- Loops -- For Loop and While Loop -- For Loop -- While Loop -- Functions -- Summary -- Chapter 2: Date and Logs -- Date Manipulation -- Creating Folders Based on a Date -- Ready-Made Date and Log Functions -- Summary -- Chapter 3: Input to Your Scripts -- Import-CSV -- Importing from a Text File -- Input from an Array -- Summary -- Chapter 4: Interactive Input
Read-host -- Parameters -- GUI Button -- Prompt (Yes or No) -- Summary -- Chapter 5: Adding Snapins/ Modules -- PowerShell Snapins -- Modules -- Cheat Module (vsadmin) -- Encrypting a Password (vsadmin) -- Summary -- Chapter 6: Sending Email -- Formatting a Message Body -- Sending HTML -- Summary -- Chapter 7: Error Reporting -- Reporting Errors Through Email -- Logging Everything Including Errors -- Logging Errors to a Text File -- Summary -- Chapter 8: Reporting -- CSV Report -- Excel Reporting -- HTML Reporting -- Summary -- Chapter 9: Miscellaneous Keywords -- Split -- Replace
Select-String -- Compare-Object -- Summary -- Chapter 10: Gluing It All Together -- Product Examples (Daily Use) -- Microsoft Exchange -- Clean Database So That Mailboxes Appear in a Disconnected State -- Find Disconnected Mailboxes -- Extract Message Accept From -- Active Sync Stats -- Message Tracking -- Search Mailbox/Delete Messages -- Exchange Quota Report -- Set Quota -- Active Directory -- Exporting Group Members -- Setting Values for AD Attributes -- Exporting Active Directory Attributes -- Adding Members to the Group from a Text File -- Removing Members of the Group From a Text File
Office 365 -- Exchange Online Mailbox Report -- Exchange Online Message Tracking -- Searching a Unified Log -- Azure AD -- Adding Users to an Azure AD Group From a Text File of UPN -- Removing Users in an Azure AD Group from a Text File of UPN -- Checking If a User Is Already a Member of a Group -- Adding Administrators to a Role -- Checking for Azure AD User Provisioning Errors -- Text/CSV File Operations -- Regex -- Summary -- Index
Summary: 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. He'll 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, you'll 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 PowerShell's 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
    average rating: 0.0 (0 votes)
Current location Call number Status Date due Barcode Item holds
On Shelf QA76.73.W56 2022 (Browse shelf) Available AU00000000018409
Total holds: 0

Description based upon print version of record

Includes index

Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Introduction -- Chapter 1: PowerShell Basics -- Variables and Printing -- If/Else Switch -- Conditional/Logical Operators -- Logical Operators -- Loops -- For Loop and While Loop -- For Loop -- While Loop -- Functions -- Summary -- Chapter 2: Date and Logs -- Date Manipulation -- Creating Folders Based on a Date -- Ready-Made Date and Log Functions -- Summary -- Chapter 3: Input to Your Scripts -- Import-CSV -- Importing from a Text File -- Input from an Array -- Summary -- Chapter 4: Interactive Input

Read-host -- Parameters -- GUI Button -- Prompt (Yes or No) -- Summary -- Chapter 5: Adding Snapins/ Modules -- PowerShell Snapins -- Modules -- Cheat Module (vsadmin) -- Encrypting a Password (vsadmin) -- Summary -- Chapter 6: Sending Email -- Formatting a Message Body -- Sending HTML -- Summary -- Chapter 7: Error Reporting -- Reporting Errors Through Email -- Logging Everything Including Errors -- Logging Errors to a Text File -- Summary -- Chapter 8: Reporting -- CSV Report -- Excel Reporting -- HTML Reporting -- Summary -- Chapter 9: Miscellaneous Keywords -- Split -- Replace

Select-String -- Compare-Object -- Summary -- Chapter 10: Gluing It All Together -- Product Examples (Daily Use) -- Microsoft Exchange -- Clean Database So That Mailboxes Appear in a Disconnected State -- Find Disconnected Mailboxes -- Extract Message Accept From -- Active Sync Stats -- Message Tracking -- Search Mailbox/Delete Messages -- Exchange Quota Report -- Set Quota -- Active Directory -- Exporting Group Members -- Setting Values for AD Attributes -- Exporting Active Directory Attributes -- Adding Members to the Group from a Text File -- Removing Members of the Group From a Text File

Office 365 -- Exchange Online Mailbox Report -- Exchange Online Message Tracking -- Searching a Unified Log -- Azure AD -- Adding Users to an Azure AD Group From a Text File of UPN -- Removing Users in an Azure AD Group from a Text File of UPN -- Checking If a User Is Already a Member of a Group -- Adding Administrators to a Role -- Checking for Azure AD User Provisioning Errors -- Text/CSV File Operations -- Regex -- Summary -- Index

Available to OhioLINK libraries

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. He'll 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, you'll 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 PowerShell's 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

Copyright © 2020 Alfaisal University Library. All Rights Reserved.
Tel: +966 11 2158948 Fax: +966 11 2157910 Email:
librarian@alfaisal.edu