PowerShell fast track : hacks for non-coders

Book Cover
Average Rating
Published
Berkeley, CA : Apress L.P., 2021.
Status
Available Online

Description

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

More Details

Format
Language
English
ISBN
9781484277591, 1484277597
UPC
10.1007/978-1-4842-7759-1

Notes

General Note
Includes index.
Bibliography
Includes bibliographical references.
Description
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
Local note
O'Reilly O'Reilly Online Learning: Academic/Public Library Edition

Table of 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

Discover More

Reviews from GoodReads

Loading GoodReads Reviews.

Citations

APA Citation, 7th Edition (style guide)

Sukhija, V. (2021). PowerShell fast track: hacks for non-coders . Apress L.P..

Chicago / Turabian - Author Date Citation, 17th Edition (style guide)

Sukhija, Vikas. 2021. PowerShell Fast Track: Hacks for Non-coders. Berkeley, CA: Apress L.P.

Chicago / Turabian - Humanities (Notes and Bibliography) Citation, 17th Edition (style guide)

Sukhija, Vikas. PowerShell Fast Track: Hacks for Non-coders Berkeley, CA: Apress L.P, 2021.

Harvard Citation (style guide)

Sukhija, V. (2021). Powershell fast track: hacks for non-coders. Berkeley, CA: Apress L.P.

MLA Citation, 9th Edition (style guide)

Sukhija, Vikas. PowerShell Fast Track: Hacks for Non-coders Apress L.P., 2021.

Note! Citations contain only title, author, edition, publisher, and year published. Citations should be used as a guideline and should be double checked for accuracy. Citation formats are based on standards as of August 2021.

Staff View

Grouped Work ID
c1d56fe5-81ff-6d85-5731-9d5e36d7f2eb-eng
Go To Grouped Work View in Staff Client

Grouping Information

Grouped Work IDc1d56fe5-81ff-6d85-5731-9d5e36d7f2eb-eng
Full titlepowershell fast track hacks for non coders
Authorsukhija vikas
Grouping Categorybook
Last Update2025-04-18 03:34:37AM
Last Indexed2025-05-22 03:36:40AM

Book Cover Information

Image Sourcesyndetics
First LoadedAug 16, 2023
Last UsedMay 16, 2025

Marc Record

First DetectedMar 14, 2023 08:40:05 AM
Last File Modification TimeDec 17, 2024 08:18:22 AM
SuppressedRecord had no items

MARC Record

LEADER05829cam a2200541 a 4500
001on1287132633
003OCoLC
00520241217081640.0
006m     o  d        
007cr cnu---unuuu
008211204s2021    cau     o     001 0 eng d
019 |a 1286667093|a 1286704307|a 1286789793|a 1290679933|a 1341686069
020 |a 9781484277591|q (electronic bk.)
020 |a 1484277597|q (electronic bk.)
0247 |a 10.1007/978-1-4842-7759-1|2 doi
035 |a (OCoLC)1287132633|z (OCoLC)1286667093|z (OCoLC)1286704307|z (OCoLC)1286789793|z (OCoLC)1290679933|z (OCoLC)1341686069
037 |a 9781484277591|b O'Reilly Media
040 |a EBLCP|b eng|e pn|c EBLCP|d TOH|d ORMDA|d OCLCO|d OCLCF|d GW5XE|d YDX|d STF|d OCLCO|d OCLCQ|d UKAHL|d OCLCQ|d OCLCO|d K6U
049 |a MAIN
050 4|a QA76.73.W56
072 7|a COM051380|2 bisacsh
08204|a 005.133|2 23
1001 |a Sukhija, Vikas.
24510|a PowerShell fast track :|b hacks for non-coders /|c Vikas Sukhija.
260 |a Berkeley, CA :|b Apress L.P.,|c 2021.
300 |a 1 online resource (144 pages)
336 |a text|b txt|2 rdacontent
337 |a computer|b c|2 rdamedia
338 |a online resource|b cr|2 rdacarrier
4900 |a ITpro collection
500 |a Includes index.
504 |a Includes bibliographical references.
5050 |a 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
5058 |a 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
5058 |a 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
5058 |a 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
520 |a 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
5880 |a Print version record.
590 |a O'Reilly|b O'Reilly Online Learning: Academic/Public Library Edition
650 0|a Windows PowerShell (Computer program language)|9 399726
650 0|a Computer programming.|9 52261
77608|i Print version:|a Sukhija, Vikas.|t PowerShell Fast Track.|d Berkeley, CA : Apress L.P., ©2021|z 9781484277584
85640|u https://library.access.arlingtonva.us/login?url=https://learning.oreilly.com/library/view/~/9781484277591/?ar|x O'Reilly|z eBook
938 |a Askews and Holts Library Services|b ASKH|n AH39784789
938 |a ProQuest Ebook Central|b EBLB|n EBL6812132
938 |a YBP Library Services|b YANK|n 17742349
994 |a 92|b VIA
999 |c 282000|d 282000