Author: Donald W. Jones
Publisher: Manning Publications
Release Date: 2016-10-01
PowerShell provides a single, unified administrative command line from which to control and automate virtually every aspect of a Windows system. It accepts and executes commands immediately, and scripts can be written to manage most Windows servers like Exchange, IIS, and SharePoint. This updated book covers PowerShell features that run on Windows 7, Windows Server 2008 R2, and later. This edition is appropriate for PowerShell version 3 and later. There is coverage for new PowerShell version 5 features like PowerShellGet, however PowerShell fundamentals are unchanged. Learn Windows PowerShell in a Month of Lunches, Third Edition is an innovative tutorial designed for busy IT professionals. With just one hour a day for a month, readers will be automating Windows tasks faster than they ever thought possible. They start with the basics (What is PowerShell and what can be done with it). Then, it moves systematically through the techniques and features that facilitate efficient and effective results. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
Author: Don Jones
Publisher: Manning Publications
Release Date: 2017-11-25
Genre: Command languages (Computer science)
Summary Discover how scripting is different from command-line PowerShell, as you explore concrete hands-on examples in this handy guide. The book includes and expands on many of the techniques presented in Learn PowerShell Toolmaking in a Month of Lunches. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Automate it! With Microsoft's PowerShell language, you can write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll be able to eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows. Once you start scripting in PowerShell, you'll be amazed at how many opportunities you'll find to save time and effort. About the Book Learn PowerShell Scripting in a Month of Lunches teaches you how to expand your command-line PowerShell skills into effective scripts and tools. In 27 bite-size lessons, you'll discover instantly useful techniques for writing efficient code, finding and squashing bugs, organizing your scripts into libraries, and much more. Advanced scripters will even learn to access the .NET Framework, store data long term, and create nice user interfaces. What's Inside Designing functions and scripts Effective pipeline usage Dealing with errors and bugs Professional-grade scripting practices About the Reader Written for devs and IT pros comfortable with PowerShell and Windows. About the Authors Don Jones is a PowerShell MVP, speaker, and trainer who has written dozens of books on information technology topics. Jeffery Hicks is a PowerShell MVP and an independent consultant, trainer, and author. Don and Jeff coauthored Manning's Learn Windows PowerShell in a Month of Lunches, Learn PowerShell Toolmaking in a Month of Lunches, and PowerShell in Depth. Table of Contents PART 1 - INTRODUCTION TO SCRIPTING Before you begin Setting up your scripting environment WWPD: what would PowerShell do? Review: parameter binding and the PowerShell pipeline Scripting language crash course The many forms of scripting (and which to use) Scripts and security PART 2 - BUILDING A POWERSHELL SCRIPT Always design first Avoiding bugs: start with a command Building a basic function and script module Going advanced with your function Objects: the best kind of output Using all the pipelines Simple help: making a comment Dealing with errors Filling out a manifest PART 3 - GROWN-UP SCRIPTING Changing your brain when it comes to scripting Professional-grade scripting An introduction to source control with git Pestering your script Signing your script Publishing your script PART 4 - ADVANCED TECHNIQUES Squashing bugs Making script output prettier Wrapping up the .NET Framework Storing data-not in Excel! Never the end
A guide to using Windows PowerShell to script Windows administrative tasks and control Windows from the command line includes more than four hundred task-oriented recipes and more than one hundred scripts.
Author: Don Jones
Publisher: Manning Publications
Release Date: 2014-11-06
Summary PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by three experienced authors and PowerShell MVPs, this is the PowerShell book you'll keep next to your monitor—not on your bookshelf! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book A Windows admin using PowerShell every day may not have the time to search the net every time he or she hits a snag. Wouldn't it be great to have a team of seasoned PowerShell experts ready to answer even the toughest questions? That's what you get with this book. PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by PowerShell MVPs Don Jones, Jeffrey Hicks, and Richard Siddaway, each valuable technique was developed and thoroughly tested, so you'll be able to consistently write production-quality, maintainable scripts while saving hours of time and effort. This book assumes you know the basics of PowerShell. What's Inside Automating tasks Packaging and deploying scripts Introduction to Desired State Configuration PowerShell security Covers PowerShell version 3 and later About the Authors Don Jones, Jeffery Hicks, and Richard Siddaway are Microsoft MVPs, trainers, and administrators. Collectively, they've authored nearly three dozen books on PowerShell and Windows administration. Table of Contents PART 1 POWERSHELL FUNDAMENTALS Introduction PowerShell hosts Using the PowerShell help system The basics of PowerShell syntax Working with PSSnapins and modules Operators Working with objects The PowerShell pipeline Formatting PART 2 POWERSHELL MANAGEMENT PowerShell Remoting Background jobs and scheduling Working with credentials Regular expressions Working with HTML and XML data PSDrives and PSProviders Variables, arrays, hash tables, and script blocks PowerShell security Advanced PowerShell syntax PART 3 POWERSHELL SCRIPTING AND AUTOMATION PowerShell's scripting language Basic scripts and functions Creating objects for output Scope PowerShell workflows Advanced syntax for scripts and functions Script modules and manifest modules Custom formatting views Custom type extensions Data language and internationalization Writing help Error handling techniques Debugging tools and techniques Functions that work like cmdlets Tips and tricks for creating reports PART 4 ADVANCED POWERSHELL Working with the Component Object Model (COM) Working with .NET Framework objects Accessing databases Proxy functions Building a GUI WMI and CIM Working with the web Desired State Configuration
Summary Learn Active Directory Management in a Month of Lunches is a practical, hands-on tutorial designed for IT pros new to Active Directory. It skips the theory and concentrates on the day-to-day administration tasks you need to know to keep your network running smoothly. Just set aside an hour a day for a month—lunchtime would be perfect—and you'll be comfortable and productive with Active Directory before you know it. About the Book At the heart of your Windows network is Active Directory, the control center for administration, security, and other core management functions. If you're new to Active Directory administration—or if you find yourself unexpectedly thrust into that role—you'll need to get up to speed fast. Learn Active Directory Management in a Month of Lunches is a hands-on tutorial designed for IT pros new to Active Directory. Without assuming previous administration experience, the book starts by walking you through the most important day-to-day system management tasks. You'll learn how to administer AD both from the GUI tools built into Windows and by using PowerShell at the command line. Along the way, you'll touch on best practices for managing user access, setting group policies, automating backups, and more. This book assumes no prior experience with Active Directory or Windows administration. Examples are based in Windows Server 2012 Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside ADM tasks you'll need every day GUI and command line techniques Content tested by new administrators Well-illustrated, clearly explained examples About the Author Richard Siddaway is an experienced all-around Windows administrator with two decades of experience. He's the author of PowerShell in Practice andPowerShell and WMI, and coauthor of PowerShell in Depth. Table of Contents PART 1 MANAGING ACTIVE DIRECTORY DATA Before you begin Creating user accounts Managing user accounts Managing groups Troubleshooting users and groups Managing computer accounts Managing organizational units PART 2 MANAGING GROUP POLICY Creating Group Policies Managing Group Policies Fine-grained password policies PART 3 MANAGING THE ACTIVE DIRECTORY SERVICE Creating domain controllers Managing domain controllers Protecting AD data Security: Default groups and delegation Managing DNS Managing sites and subnets AD replication Managing AD trusts PART 4 MAINTENANCE AND TROUBLESHOOTING Troubleshooting your AD Maintaining and monitoring Active Directory Future work and final exam Into the cloud
Author: Don Jones
Release Date: 2011-10-14
Take Windows PowerShell further by turning interactively-run commands into parameterized tools that look and feel just like native PowerShell cmdlets. Add error handling, learn critical debugging techniques, and build your own modules - including custom formatting and more. It's all brought to you by the world's most-published PowerShell expert, MVP Award recipient Don Jones. Designed as companion material for instructor-led classes, this slim, affordable guide makes PowerShell scripting practical and realistic.
Author: Ed Wilson
Publisher: Microsoft Press
Release Date: 2013-02-15
Your hands-on, step-by-step guide to automating Windows administration with Windows PowerShell 3.0 Teach yourself the fundamentals of Windows PowerShell 3.0 command line interface and scripting language—one step at a time. Written by a leading scripting expert, this practical tutorial delivers learn-by-doing exercises, timesaving tips, and hands-on sample scripts for performing administrative tasks on both local and remote Windows systems. Discover how to: Use built-in cmdlets to execute commands Write scripts to handle recurring tasks Use providers to access information beyond the shell environment Configure network components with Windows Management Instrumentation Manage users, groups, and computers with Active Directory services Execute scripts to administer and troubleshoot Microsoft Exchange Server 2010
Author: Don Jones
Publisher: Manning Publications
Release Date: 2014-05-08
Summary Learn SQL Server Administration in a Month of Lunches is the perfect way to get started with SQL Server operations, including maintenance, backup and recovery, high availability, and performance monitoring. In about an hour a day over a month, you'll learn exactly what you can do, and what you shouldn't touch. Most importantly, you'll learn the day-to-day tasks and techniques you need to keep SQL Server humming along smoothly. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book Microsoft SQL Server is used by millions of businesses, ranging in size from Fortune 500s to small shops worldwide. Whether you're just getting started as a DBA, supporting a SQL Server-driven application, or you've been drafted by your office as the SQL Server admin, you do not need a thousand-page book to get up and running. Learn SQL Server Administration in a Month of Lunches is the perfect way to get started with SQL Server. This concise, easy-to-read book skips academic introductions and teaches you day-to-day techniques for maintenance, backup and recovery, performance monitoring, and more. Each of the 21 short lessons gives you practical takeaways you'll use over and over. What's Inside Master the basics—indexes, logins, backup, recovery ... and more Learn what you can and cannot do when supporting a third-party application Monitor and improve performance Written by expert trainer and bestselling author Don Jones Accessible to readers of any level of experience, the book covers techniques for all versions of SQLServer 2005-2014. About the Author Don Jones is a Microsoft MVP, speaker, and trainer. He is the creator of the Month of Lunches series and author of over 50 books on PowerShell, IIS, Active Directory, SCCM, SQL Server, and more. Table of Contents Before you begin Server assessment and configuration T-SQL crash course Managing databases Backup and recovery Authentication: who are you? Authorization: what are you allowed to do? Accounting: what did you do? Analyzing indexes Maintaining indexes Tuning index designs Reading query execution plans Block and deadlock analysis Automating management with SQL Server Agent Multiserver management Windows PowerShell and SQL Server Using Extended Events Monitoring and analyzing performance Options for high availability Virtualizing SQL Server Moving, migrating, and upgrading databases SQL Server performance checklist Never the end
Summary Learn Linux in a Month of Lunches shows you how to install and use Linux for all the things you do with your OS, like connecting to a network, installing software, and securing your system. Whether you're just curious about Linux or have to get up and running for your job, you'll appreciate how this book concentrates on the tasks you need to know how to do in 23 easy lessons. About the Technology If you've only used Windows or Mac OS X, you may be daunted by the Linux operating system. And yet learning Linux doesn't have to be hard, and the payoff is great. Linux is secure, flexible, and free. It's less susceptible to malicious attacks, and when it is attacked, patches are available quickly. If you don't like the way it looks or behaves, you can change it. And best of all, Linux allows users access to different desktop interfaces and loads of software, almost all of it completely free. About the Book Learn Linux in a Month of Lunches shows you how to install and use Linux for all the things you do with your OS, like connecting to a network, installing software, and securing your system. Whether you're just curious about Linux or need it for your job, you'll appreciate how this book focuses on just the tasks you need to learn. In easy-to-follow lessons designed to take an hour or less, you'll learn how to use the command line, along with practical topics like installing software, customizing your desktop, printing, and even basic networking. You'll find a road map to the commands and processes you need to be instantly productive. What's Inside Master the command line Learn about file systems Understand desktop environments Go from Linux novice to expert in just one month About the Reader This book is for anyone looking to learn how to use Linux. No previous Linux experience required. About the Author Steven Ovadia is a professor and librarian at LaGuardia Community College, CUNY. He curates The Linux Setup, a large collection of interviews with desktop Linux users, and writes for assorted library science journals. Table of Contents PART 1 - GETTING LINUX UP AND RUNNING Before you begin Getting to know Linux Installing Linux Getting to know your system Desktop environments Navigating your desktop PART 2 - A HOME OFFICE IN LINUX Installing software An introduction to Linux home/office software Text files and editors Working with files and folders on the command line Working with common command-line applications, part 1 Working with common command-line applications, part 2 Using the command line productively Explaining the Linux filesystem hierarchy Windows programs in Linux Establishing a workflow PART 3 - HOME SYSTEM ADMIN ON LINUX An in-depth look at package management and maintenance Updating the operating system Linux security Connecting to other computers Printing Version control for non-programmers Never the end
Author: Don Jones
Publisher: Createspace Independent Publishing Platform
Release Date: 2017-02-24
Go beyond the PowerShell command line and become a Toolmaker! Learn the techniques, patterns, and practices that go into professional, native-style scripting in the PowerShell environment. PowerShell MVPs Don Jones and Jeffery Hicks - authors of some of the first and most-popular PowerShell books ever - walk you through a guided tour of toolmaking, including advanced topics like debugging, help authoring, type extensions, and more. They introduce you to key open-source tools like Platyps and Pester, helping you become a more professional and well-rounded toolmaker. They even dive into data connectivity, helping you use some of the most common data storage mechanisms and formats in your scripts. Everything you need is right here, including hands-on exercises, review questions, and more. Start becoming a PowerShell Toolmaker today!
Want to perform programming tasks better, faster, simpler, and make them repeatable? Take a deep dive into Windows PowerShell and discover what this distributed automation platform can do. Whether you’re a .NET developer or IT pro, this concise guide will show you how PowerShell’s scripting language can help you be more productive on everyday tasks. Quickly learn how to create PowerShell scripts and embed them into your existing applications, write "little languages" to solve specific problems, and take charge of your code. This book includes example scripts that you can easily pull apart, tweak, and then use in your own PowerShell and .NET solutions. Slice and dice text, XML, CSV, and JSON with ease Embed PowerShell to provide scripting capabilities for your C# apps Create GUI applications five to ten times faster with less code Leverage PowerShell’s capabilities to work with the Internet Interact with DLLs and create objects, automatically display properties, and call methods in live interactive sessions Build domain-specific languages (DSLs) and vocabularies to express solutions more clearly Work with Microsoft Office via the Component Object Model (COM) Discover PowerShell v3 features included with Windows 8 and Windows Server 2012
Author: James Bannan
Publisher: Manning Publications Company
Release Date: 2015-07-31
Summary "Learn System Center Configuration Manager in a Month of Lunches" is a super-practical guide to Microsoft System Center Configuration Manager. In this book, you'll cut to the chase and learn the administrative procedures and techniques that will keep your systems humming smoothly. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. About the Technology Businesses rely on a complex patchwork of client computers, physical and virtual servers, middleware, mobile devices, and cloud services. Microsoft System Center Configuration Manager (SCCM) sits in the middle of this mix, providing a single administrative control center to deploy and manage Windows servers and applications across your entire infrastructure, including cross-platform management of Mac OS X, Linux, and UNIX. To get up to speed with the day-to-day tasks of managing a system with ConfigMgr, all you need is this book and a quiet place to eat your lunch. About the Book "Learn System Center Configuration Manager in a Month of Lunches" is a super-practical guide to Microsoft System Center Configuration Manager. In this book, you ll cut to the chase and learn the administrative procedures and techniques that will keep your systems humming smoothly. Whether you re a new sysadmin or you already understand the inner workings of Active Directory and Windows Server, you ll be productive immediately as you work through the 22 self-contained lessons in this handy tutorial. What's Inside Covers the latest build of Configuration ManagerHow to simplify updates, operating system deployment, and reportingCross-platform and mobile management including Linux, OS X, and WindowsSmart application delivery About the Reader No prior experience with System Center Configuration Manager needed. About the Author James Bannan is a Cloud and Datacenter Management MVP based in Australia. Table of Contents Before you beginSetting up your lab environment Making ConfigMgr aware of your environment Managing ConfigMgr devices and users Organizing devices and users Configuring ConfigMgr clients Creating and configuring applications with the AppModelDeploying applications and packages to ConfigMgr clientsEnsuring that ConfigMgr clients can access content Keeping ConfigMgr clients patched Preparing to deploy Windows Deploying Windows Advanced deployment of Windows with ConfigMgr and MDTManaging Linux clients Deploying to Linux and Mac clients Managing anti-malware with ConfigMgr Making sure clients are healthy Reporting in ConfigMgr Keeping an eye on your clients What to do when things go wrong Securing ConfigMgr All engines full steam ahead"
Windows PowerShell is a scripting language that simplifies Windows system administration. PowerShell in Practice is a hands-on reference for administrators wanting to learn and use PowerShell. Following the "in Practice" style, individual related techniques are clustered into chapters. Each technique is presented in the form: problem, solution, discussion, and includes annotated code listings. Written to answer the question "How can PowerShell make my job as an administrator easier?" this book concentrates on practical tasks and automation. Starting with an a brief tutorial and review, the majority of the book focuses on two major PowerShell usage areas: People - user accounts, mailboxes, desktop configuration; and Servers - Active Directory, Exchange, IIS, and more. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.