Presents a guide on how to use Windows PowerShell to build administrative tools.
Presents a guide on how to use Windows PowerShell to build administrative tools.
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.
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
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.
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 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
AWS gives users the networking, compute, and security services they need without making them pay for anything they're not actually using. With almost a hundred individual AWS services, putting all the pieces together is not a simple thing. That's where this book can help. Learn Amazon Web Services in a Month of Lunches guides readers through the process of building a robust and secure web application using the core AWS services they really need to know. When they're done, readers will be comfortable with the basics, and know exactly where to look when they're ready for more. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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
Businesses and consumers depend on reliable computer networks for banking, learning, entertainment, and staying in touch. Cisco is the leader in networking. Cisco skills are highly valued and there are a lot of opportunities for career advancement for people with these skills. Learn Cisco Network Administration in a Month of Lunches is a tutorial designed for beginners who want to learn how to administer Cisco switches and routers. Readers set aside one hour a day - lunchtime is perfect - for a month, and learn practical Cisco network administration skills faster than they ever thought possible. This book starts with the basics - a clear, concise overview of how Cisco Networks function. Then, readers move systematically through the techniques and features used to perform the most common and important administration tasks. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
Windows PowerShell transformed the way administrators and developers interact with Windows. PowerShell, an elegant dynamic language from Microsoft, lets its users script administrative tasks and control Windows from the command line. Because it's a full-featured, first-class Windows programming language, programmers and power- users can now do things in a shell that previously required VB, VBScript, or C#. Windows PowerShell in Action, Third Edition is a completely revised edition of the bestselling book on PowerShell. It keeps the same crystal-clear introduction to PowerShell as the last edition and adds extensive coverage of v3, v4, and v5 features such as PowerShell Workflows, Desired State Configuration, PowerShell classes and the PowerShell APIs, new error handling and debugging features. It includes full chapters on these topics and also covers new language elements and operators, PowerShell remoting, CIM, events, working with data such as XML and flat files, The Second Edition's coverage of batch scripting and string processing, COM, WMI, and .NET have all been significantly revised and expanded. The book includes many popular usage scenarios and is rich in interesting examples that will spark the reader's imagination. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
Desired State Configuration (DSC) is a powerful configuration management platform that makes it easier than ever to perform cross-platform configuration management of your infrastructure, whether on-premise or in the cloud. DSC provides the management platform and Application Programming Interface (API) that can be used with any programming language. Windows PowerShell Desired State Configuration Revealed will take you through this new technology from start to finish and demonstrates the DSC interfaces through Windows PowerShell. DSC allows you to manage target devices by simply declaring what state you want them to be in, using new declarative language extensions, rather than writing detailed instructions to get them into that state. This makes continuous delivery in Windows easier than ever before. In an environment where changes and deployments are happening all the time, DSC makes the necessary adjustments to the system so you don’t have to. Windows PowerShell Desired State Configuration Revealed starts with an overview of the configuration management features in Windows, followed by a discussion of the architecture of DSC and its components. You’ll then explore DSC’s built-in features and resources, followed by some of the different methods provided for delivering configuration information within your ecosystem, and learn about configuration monitoring and reporting. In the latter part of the book, you’ll find out how to get more power out of DSC by writing your own custom DSC resources, including a range of useful examples, and the book concludes with vital information on deploying and troubleshooting DSC in a production environment, along with some expert tips and tricks you might find useful along the way. Windows PowerShell Desired State Configuration Revealed is your one-stop guide to this new technology and how it can change your working life for the better.
Can you resist everything except temptation? In a hedonistic age full of distractions, it's hard to possess willpower - or in fact even understand why we should need it. Yet it's actually the most important factor in achieving success and a happy life, shown to be more significant than money, looks, background or intelligence. This book reveals the secrets of self-control. For years the old-fashioned, even Victorian, value of willpower has been disparaged by psychologists who argued that we're largely driven by unconscious forces beyond our control. Here Roy Baumeister, one of the world's most esteemed and influential psychologists, and journalist John Tierney, turn this notion on its head. They show us that willpower is like a muscle that can be strengthened with practice and improved over time. The latest laboratory work shows that self-control has a physical basis to it and so is dramatically affected by simple things such as eating and sleeping - to the extent that a life-changing decision may go in different directions depending on whether it's made before or after lunch. You will discover how babies can be taught willpower, the joys of the to-don't list, the success of Alcoholics Anonymous, the pointlessness of diets and the secrets to David Blaine's stunts. There are also fascinating personal stories, from explorers, students, soldiers, ex-addicts and parents. Based on years of psychological research and filled with practical advice, this book will teach you how to gain from self-control without pain, and discover the very real power in willpower. The results are nothing short of life-changing.
Teaches you how to program through the development of computer games. In these pages, you'll discover everything you need to know to begin developing your own scripts. You'll develop a new game that reinforces a newly learned concept in each chapter. No prior experience or programming knowledge is required. Topics covered include the basic steps involved in interacting with the PowerShell command prompt and in creating and executing PowerShell scripts, object-based scripting and PowerShell's relationship with the .NET Framework, the way to implement conditional logic and set up loops to automate repetitive tasks and process large collections of data, how to improve the overall organization of your PowerShell scripts using functions, and advanced topics such as tracking down and debugging errors and using PowerShell to interact with Windows Management Instrumentation. The third edition of this book is a PowerShell scripting primer for either PowerShell 3.0 or PowerShell 4.0. --
Summary PowerShell and WMI is an example-driven guide for administrators managing networks of Windows servers and desktops. With 150 practical examples, including ready-to-reuse scripts and techniques, you'll learn the ins and outs of automating WMI via PowerShell v3. You'll also find deep coverage of all aspects of Windows administration, including IIS, DNS and Hyper-V. About the Technology WMI, on its own, is simply a collection of Windows management facilities. Paired with PowerShell, however, WMI becomes a brilliant toolset for automating servers, networks, and remote Windows computers. About the Book PowerShell and WMI is an industrial-strength guide for administrators of Windows networks, servers, and desktops. You'll start with practical overviews of PowerShell and of WMI. Then you'll explore 150 specific examples—all with ready-to-use scripts—designed to simplify your day-to-day system management. Each tested technique is configured to load as part of a PowerShell module. A set of handy appendixes includes references for PowerShell and WMI. Prior exposure to PowerShell and WMI is helpful but not required. 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. What's Inside Managing Windows, IIS, and Hyper-V Remote desktops and devices Logs, jobs, and performance New PowerShell v3 WMI functionality =============================== Table of Contents PART 1 TOOLS OF THE TRADE Solving administrative challenges Using PowerShell WMI in depth Best practices and optimization PART 2 WMI IN THE ENTERPRISE System documentation Disk systems Registry administration Filesystem administration Services and processes Printers Configuring network adapters Managing IIS Configuring a server Users and security Logs, jobs, and performance Administering Hyper-V with PowerShell and WMI PART 3 THE FUTURE: POWERSHELL V3 AND WMI WMI over WSMAN Your own WMI cmdlets CIM cmdlets and sessions
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.