
PowerShell Fast Track: Hacks for Non-Coders
Vikas Sukhija
Résumé
Create complex scripts in PowerShell and learn how to connect them to cloud services like Azure and Azure AD.
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
Variables & Printing If Else/ switch Conditional / Logical Operators Loops For -Loop While -Loop Functions
Chapter 2. Date & logs
Define Logs First day & Last day of Month Midnight Create Folders based on Date Recycle Logs Progress bar
Chapter 3. Input to your scripts
Import CSV Import from text file Input from Array
Chapter 4. Interactive Input
Read-host Parameters GUI Button Prompt
Chapter 5. Adding Snap ins/ Modules
PowerShell Snapins Modules Import Session Example:
Chapter 6. Sending Email
Chapter 7. Error Reporting
Reporting Error thru Email Logging Everything including Error Logging error to Text file
Chapter 8. Reporting CSV
Report HTML Reporting
Chapter 9. Miscellaneous Keywords
Split Replace Select-String Compare-Object
Chapter 10. Product Examples (Daily Use)
Microsoft Exchange Clean Database so that mailboxes appear in disconnected state Find Disconnected Mailboxes Clustered Mailbox Status (2007) Extract Message accept from Active Sync Stats Message Tracking Search mailbox / Delete Messages Exchange Quota Report Set Quota Active Directory Export Group members Set values for Ad attributes Export Active Directory attributes Add members to the group from text file Remove members to the group from text file Office 365 Exchange Online Mailbox Report Exchange Online Message Tracking Searching Unified Log
11. Appendix
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Vikas Sukhija |
Parution | 25/11/2021 |
Nb. de pages | 136 |
EAN13 | 9781484277584 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse