Windows PowerShell 4.0 for .NET developers : a fast-paced PowerShell guide, enabling you to efficiently administer and maintain your development environment /
A fast-paced guide, packed with easy-to-follow practical examples and real-world scenarios, along with detailed descriptions and screenshots. If you are a .NET developer who wants to learn how to use Windows PowerShell then this book is what you are looking for. This book takes you from the basics t...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2014.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Windows PowerShell; Introducing Windows PowerShell; Windows PowerShell consoles; The Windows PowerShell console; The Integrated Scripting Environment (ISE); The key features of Windows PowerShell; PowerShell fundamentals
- back to basics; Working with objects; Understanding the piping and pipelines; Understanding and using aliases; Using variables and data types; Comparison and logical operators; Working with arrays and hash tables.
- Script flow and execution controlConditional execution; Iterations statements; Using functions; Understanding providers and drives; Working with script files; Comments in PowerShell; Using help in Windows PowerShell; PowerShell's common parameters; Summary; Chapter 2: Unleashing Your Development Skills with PowerShell; Understanding CIM and WMI; CIM and WMI in Windows PowerShell; More reasons to adopt CIM; Working with XML; Loading XML files; Using the Get-Content cmdlet; Using the Select-Xml cmdlet; Importing and exporting XML files; Working with COM; Creating an instance of a COM object.
- Automating Internet Explorer with COM and PowerShellAutomating Microsoft Excel with COM and PowerShell; Working with .NET objects; Creating .NET objects; Extending .NET objects; Extending .NET framework types; Defining the object type using an inline C♯ class; Defining an object type using an assembly name or file; Understanding Windows PowerShell Modules; Creating Windows PowerShell Modules; The script modules; The binary modules; Creating your first binary module; The manifest modules; The dynamic modules; Script debugging and error handling; Working with breakpoints; Debugging your script.
- Error-handling techniquesThe Error and LastExistCode variables; Building GUI with PowerShell; Summary; Chapter 3: PowerShell for Your Daily Administration Tasks; Windows PowerShell remoting; Four different ways of using remoting; Interactive remoting; Ad hoc remoting; Persistent session; Implicit remoting; Windows PowerShell Workflow (PSW); Creating a workflow using PowerShell; Executing a PowerShell Workflow; Sequential execution; Parallel execution; InlineScript activity; Controlling the PowerShell workflow execution; Persistent workflows; Windows PowerShell in action.
- Working with Windows roles and featuresInstalling Windows roles and features; Uninstalling Windows roles and features; Managing local users and groups; Creating a new local user account; Modifying an existing local user account; Adding and removing a user account to and from a group; Listing all the existing users and groups; Managing web servers
- IIS; Working with web application pools; Creating a new website; Creating a new virtual directory; Creating a new web application; Creating an FTP site; Creating and modifying an existing website binding.