Cover image for Windows PowerShell 4.0 for .NET Developers.
Windows PowerShell 4.0 for .NET Developers.
Title:
Windows PowerShell 4.0 for .NET Developers.
Author:
Talaat, Sherif.
ISBN:
9781849688772
Personal Author:
Physical Description:
1 online resource (165 pages)
Contents:
Windows PowerShell 4.0 for .NET Developers -- Table of Contents -- Windows PowerShell 4.0 for .NET Developers -- Credits -- About the Author -- Acknowledgments -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Instant Updates on New Packt Books -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 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 control -- Conditional 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 -- 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 PowerShell -- Automating 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 techniques -- The Error and LastExistCode variables -- Building GUI with PowerShell -- Summary -- 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 features -- Installing 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 -- Removing an existing local user account -- 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 -- Backing up and restoring the web configuration -- SQL Server and Windows PowerShell -- Loading SQL Server PowerShell -- Importing SQL Server PowerShell module.

Launching the SQL Server PowerShell from SSMS -- Working with the SQL Server scripting -- Example 1 - executing the T-SQL statement -- Example 2 - backing up the SQL Server database -- Example 3 - restoring the SQL Server database -- Example 4 - generating the SQL script for a database, tables, and stored procedures -- Summary -- 4. PowerShell and Web Technologies -- Web cmdlets in PowerShell -- Working with web services -- Example 1 - using the GeoIPService web service -- Example 2 - using the Stock Quote web service -- Working with web requests -- Example 1 - downloading files from the Internet -- Using REST APIs -- Example 1 - finding YouTube videos using PowerShell -- Example 2 - reading web feeds -- Working with JSON -- Example 1 - converting objects into the JSON format -- Example 2 - converting objects from JSON to the PowerShell format -- Summary -- 5. PowerShell and Team Foundation Server -- TFS Power Tools -- Getting started with TFS PowerShell cmdlets -- Working with TFS PowerShell cmdlets -- Retrieving TFS information -- Working with TFS items' information -- Managing TFS workspace -- Managing changesets, shelvesets, and pending changes -- Summary -- Index.
Abstract:
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 to a professional level in PowerShell scripting. In order to get the maximum benefit from this book, you need to have some basic scripting knowledge or at least hands-on experience with one of the .NET programming languages.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: