Getting Started with PowerShell
Learn the fundamentals of PowerShell to build reusable scripts and functions to automate administrative tasks with Windows About This Book Harness the capabilities of the PowerShell system to get started quickly with server automation Learn to package commands into a reusable script and add control...
Main Author: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Olton Birmingham :
Packt Publishing Ltd
2015.
|
Edition: | 1st edition |
Series: | Community experience distilled
|
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629729306719 |
Table of 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""