Powershell
James Pogran
Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. PowerShell DSC is a new management platform that enables you to deploy and manage configuration data for software services and manage the environment in which these services run.This book begins with an overview of the basics of PowerShell DSC by covering the architecture and components of the Desired Sate Configuration. It will then familiarize you with the set of PowerShell language extensions and new PowerShell commands. It will help you understand and create DSC configurations with the help of practical examples, and to create DSC custom resources for your custom applications. Finally, you will learn to deploy a real world application using PowerShell DSC. By the end of the book, you will have better knowledge about the powerful Desired State Configuration platform, which helps you to achieve continuous delivery, and efficient management and easy deployment of data for systems.
Chris Dent
PowerShell scripts offer a convenient way to automate various tasks, but working with them can be daunting. Mastering PowerShell Scripting takes away the fear and helps you navigate through PowerShell's capabilities.This extensively revised edition includes new chapters on debugging and troubleshooting and creating GUIs (online chapter). Learn the new features of PowerShell 7.1 by working with parameters, objects, and .NET classes from within PowerShell 7.1.This comprehensive guide starts with the basics before moving on to advanced topics, including asynchronous processing, desired state configuration, using more complex scripts and filters, debugging issues, and error-handling techniques. Explore how to efficiently manage substantial amounts of data and interact with other services using PowerShell 7.1. This book will help you to make the most of PowerShell's automation features, using different methods to parse data, manipulate regular expressions, and work with Windows Management Instrumentation (WMI).
Chris Dent
Mastering PowerShell Scripting, Fifth Edition, is your comprehensive guide to harnessing PowerShell’s full potential. This edition introduces new chapters on debugging, troubleshooting, and creating GUIs while covering the latest enhancements in PowerShell 7.3, including parameters, objects, and .NET classes.The book takes you from foundational concepts to advanced techniques, covering asynchronous processing, desired state configuration, and managing large datasets. You'll explore PowerShell’s automation features, error-handling strategies, and integration with external services. Additionally, this guide provides practical insights into working with regular expressions, Windows Management Instrumentation, and complex scripting methods.By the end of this book, you’ll have the skills to efficiently automate tasks, troubleshoot scripts, and leverage PowerShell’s advanced capabilities for real-world scenarios.Be sure to explore the online bonus chapters 8, 9, and 20, where we dive into Strings, Numbers, and Dates, Regular Expressions, and Building Modules.
Chris Dent
PowerShell scripts offer a handy way to automate various chores, however working effectively with these scripts can be a difficult task.This comprehensive guide starts with the fundamentals before moving on to advanced-level topics to help you become a PowerShell Core 6.0 expert. The first module, PowerShell Core 6.0 Fundamentals, begins with the new features of PowerShell Core 6.0, installing it on Linux, and working with parameters, objects and .NET classes from within PowerShell Core 6.0. As you make your way through the chapters, you'll see how to efficiently manage large amounts of data and interact with other services using PowerShell Core 6.0. You'll be able to make the most of PowerShell Core 6.0's powerful automation feature, where you will have different methods available to parse data and manipulate regular expressions and Windows Management Instrumentation (WMI). After having explored automation, you will enter the extending PowerShell Core 6.0 module, covering asynchronous processing and desired state configuration. In the last module, you will learn to extend PowerShell Core 6.0 using advanced scripts and filters, and also debug issues along with working on error handling techniques.By the end of this book, you will be an expert in scripting with PowerShell Core 6.0.
James Henry F Preston, James Preston
Jonas Andersson, Nuno Mota, Mike Pfeiffer
Niezawodne przepisy automatyzowania czasochłonnych zadań administracyjnych Zaczniemy od najważniejszych koncepcji powłoki PowerShell. Staną się one podstawą kolejnych przykładów opisanych w tej książce. Następnie zajmiemy się typowymi zadaniami zarządzania programem Exchange, które wykonamy za pomocą powłoki zarządzania. Poznamy techniki efektywnej automatyzacji tych zadań i nauczymy się pisać skrypty dla najnowszej wersji programu. W dalszej kolejności nauczymy się zarządzać adresatami Exchange i wykonywać różne operacje na skrzynkach pocztowych. Zajmiemy się też zarządzaniem grupami dystrybucyjnymi i listami adresowymi. Po zapoznaniu się z tymi zagadnieniami przejdziemy do kilku scenariuszy, w których użyjemy skryptów PowerShell do zwiększenia wydajności zarządzania bazami danych skrzynek pocztowych. Zajmiemy się też dostępem klienckim oraz zarządzaniem usługami transportu. Omówimy też kilka aspektów zabezpieczeń i zgodności, takich jak kontrola dostępu oparta na rolach, certyfikaty cyfrowe, archiwizacja i przechowywanie, zbieranie elektronicznych materiałów dowodowych oraz audyt. W końcowej części książki poznamy techniki uzyskiwania wysokiej dostępności, zabezpieczania środowiska, monitorowania stanu programu Exchange oraz integracji z serwerami Office Online Server, Skype for Business Server oraz Exchange Online (Office 365). Poruszane zagadnienia: Dokładne omówienie nowych funkcji i możliwości programów PowerShell i Exchange Server 2016 Omówienie głównych koncepcji związanych z programem PowerShell Używanie prostych skryptów i poleceń programu PowerShell w celu uzyskania skutecznych wyników Generowanie szczegółowych raportów, wysyłanie danych wyjściowych poleceń za pomocą poczty elektronicznej oraz tworzenie harmonogramów automatycznego uruchamiania skryptów Importowanie, eksportowanie i przenoszenie skrzynek pocztowych, a także usuwanie wiadomości ze skrzynek pocztowych za pomocą wiersza poleceń Konfigurowanie ustawień serwera transportu, takich jak przekazywanie poczty, reguły transportu, raporty dotyczące dostarczenia poczty, i innych Zarządzanie skrzynkami pocztowymi i folderami publicznymi Monitorowanie stanu środowiska programu Exchange z wykorzystaniem wbudowanych cmdletów i innych metod Integracja programu Exchange z serwerami Office Online Server, Skype for Business Server i Exchange Online (Office 365)