Limit search to available items
Book Cover
E-book
Author Shepard, Michael, author

Title Getting started with PowerShell : learn the fundamentals of PowerShell to build reusable scripts and functions to automate administrative tasks with Windows / Michael Shepard
Published Birmingham, UK : Packt Publishing, 2015

Copies

Description 1 online resource (1 volume) : illustrations
Series Community experience distilled
Community experience distilled.
Contents Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: First Steps -- Determining the installed PowerShell version -- Using the registry to find the installed version -- Using PowerShell to find the installed version -- Installing/upgrading PowerShell -- Starting a PowerShell session -- PowerShell hosts -- 64-bit and 32-bit PowerShell -- PowerShell as an administrator -- Simple PowerShell commands -- PowerShell aliases -- Summary -- For further reading -- Chapter 2: Building Blocks -- What can you do? -- The scripter's secret weapon -- tab completion -- How does that work? -- Interpreting cmdlet syntax -- Summary -- For further reading -- Chapter 3: Objects and PowerShell -- Objects all the way down -- Digging into objects -- Types, classes, and objects -- What are members? -- The DOS DIR command -- The IPCONFIG command -- PowerShell for comparison -- The Get-Member cmdlet -- Where did these all come from? -- Summary -- For further reading -- Chapter 4: Life on the Assembly Line -- The pipeline as an assembly line -- This isn't your DOS or Linux pipeline -- Objects at your disposal -- Dealing with pipeline data -- The Sort-Object cmdlet -- The Where-Object cmdlet -- The Select-Object cmdlet -- Limiting the number of objects returned -- Limiting the properties of objects returned -- Retrieving the values of a single property -- The Measure-Object cmdlet -- The Group-Object cmdlet -- Putting them together -- Summary -- For further reading -- Chapter 5: Formatting Output -- When does formatting occur? -- The rules of automatic formatting -- Formatting files -- Formatting decisions are based on the first object -- Small objects go in a table -- Large objects go in a list -- Cmdlets that control formatting -- Format-Table and Format-List -- The dangers of formatting
Best practices of formatting -- Summary -- For further reading -- Chapter 6: Scripts -- Packaging commands -- Execution policy -- Types of scripts -- Scopes and scripts -- Parameters add flexibility -- Adding some logic -- Conditional logic (IF) -- Looping logic -- More logic -- Profiles -- Summary -- For further reading -- Chapter 7: Functions -- Another kind of container -- Comparing scripts and functions -- Executing and calling functions -- Naming conventions -- Comment-based help -- Parameters revisited -- Typed parameters -- Switches -- Default values for parameters -- Output -- Summary -- For further reading -- Chapter 8: Modules -- Packaging functions -- Script modules -- The Export-ModuleMember cmdlet -- Where do modules live? -- Removing a module -- PowerShell module autoloading -- The #Requires statement -- Removing a module -- take two -- Manifest modules -- Listing modules -- Summary -- Chapter 9: File I/O -- Reading and writing text files -- Writing text files -- Working with CSV files -- Output to CSV for quick reports -- The Invoke-Item cmdlet -- Import from CSV for quick objects -- PowerShell streams and redirection -- Other types of redirection operators -- The out-file cmdlet -- CLIXML -- a special type of XML -- Summary -- For further reading -- Chapter 10: WMI and CIM -- What is WMI? -- WMI organization -- Finding WMI classes -- Retrieving objects with Get-WMIObject -- Getting the right instance -- WQL syntax -- Calling methods -- WMI and CIM -- The CIM cmdlets -- CDXML modules -- Summary -- For further reading -- Chapter 11: Web Server Administration -- Installing IIS -- Detecting and installing IIS in Windows 8.1 -- Detecting and installing IIS in Server 2012R2 -- Verifying IIS -- The WebAdministration module -- Starting, stopping, and restarting IIS -- Creating virtual directories and web applications
Working with application pools -- Creating application pools -- Summary -- For further reading -- Next Steps -- Index
Notes Includes index
Online resource; title from cover page (Safari, viewed September 21, 2015)
SUBJECT Microsoft Windows (Computer file) -- Automation
Microsoft Windows (Computer file) fast
Subject Windows PowerShell (Computer program language)
Scripting languages (Computer science)
COMPUTERS. -- Operating Systems -- Windows Server.
COMPUTERS. -- Web -- General.
Automation
Scripting languages (Computer science)
Windows PowerShell (Computer program language)
Form Electronic book
ISBN 1785284908
1783558504
9781783558506
9781472729071
1472729072
9781785284908
Other Titles Learn the fundamentals of PowerShell to build reusable scripts and functions to automate administrative tasks with Windows