E-book details

Instant Windows PowerShell Guide. Enhance your knowledge of Windows PowerShell and get to grips with its latest features

Instant Windows PowerShell Guide. Enhance your knowledge of Windows PowerShell and get to grips with its latest features

Harshul Patel

Ebook
Windows PowerShell has become a booming scripting language over the last couple of years. It has extensive support with an ample number of vendor products, providing a standardized platform for automation and administration. It has massive support for all Microsoft products which creates a layer that can easily automate everything. In the latest version, the PowerShell team has introduced much more functionality with thousands of CMDLETs, part of various modules.This book is a quick reference guide to enable you to get the most out of the latest Windows PowerShell techniques. In this book, you will find new enhancements in the latest version of PowerShell with some helpful examples. This book enables you to quickly move from older versions of PowerShell to Version 3.0 and Version 4.0.This practical, example-oriented book helps you to overcome the difficulty of using and discovering CMDLETs by providing precise information about everything that has been newly introduced in the latest version of Windows PowerShell. It also focuses on the new configuration management system with the help of DSC as a new feature of Windows PowerShell v4.0.You will learn how to use the newly introduced CMDLETs and parameters to perform daily routine tasks. You will also learn how to administer the servers remotely and maintain persistent sessions to provide continuity. You will gain an insight into writing efficient scripts by using various parameters, snippets, and workflows to gain more productivity. You will also be introduced to various modules like CimCmdlets, PSScheduledJob, PSDesiredStateConfiguration, and so on in order to enhance your scripts with the latest instrumentation. Finally this book will make you aware of the capabilities of PowerShell v4.0 and how to fully leverage the functionality introduced in the new version.
  • Instant Windows PowerShell Guide
    • Instant Windows PowerShell Guide
    • Credits
    • About the Author
    • 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
        • Errata
        • Piracy
        • Questions
    • 1. Instant Windows PowerShell Guide
      • Windows PowerShell prerequisites
        • Requirements for Windows Management Framework 3.0and Windows Management Framework 4.0
        • Package contents
      • Live with help (Simple)
        • Getting ready
        • How to do it...
        • How it works
        • Theres more
          • How you discover the commands
          • Ask for help
          • The ShowWindow parameter
      • Calculate with the console (Simple)
        • Getting ready
        • How to do it...
        • How it works
        • There's more
      • Dealing with PSDrive (Simple)
        • Getting ready
        • How to do it...
        • How it works
        • There's more
          • Get-Credential
          • Select-Object
          • Import-Csv
          • Dealing with JSON-formatted objects
          • Windows PowerShell custom object enhancements
      • Administer the system (Intermediate)
        • Getting ready
        • How to do it...
        • How it works
        • There's more
          • Rename-Computer
          • Operating the control panel from the console
          • Test-Connection
          • Test-NetConnection
      • How to import modules to the console (Simple)
        • Getting ready
        • How to do it...
        • How it works
        • There's more
          • LogPipelineExecutionDetails
          • Get-Module
      • Typing enhancements (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
      • Working with the various parameters of Get-Command (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Getting the Configuration type CMDLETs
      • Setting default parameter values (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • PipelineVariable a new common parameter
          • Collection filtering using method syntax
      • Alias the aliases (Simple)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Get-Alias
          • Import-Alias
          • Get-Acl
      • Operate the data (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Get-Content
          • Tee-Object
      • Working with the Out-GridView CMDLET (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Export-Csv
          • Add-Member
          • Get-Process
          • Get-FileHash
      • Session scheme (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Get-PSSession
          • New-PSTransportOption
      • Working remotely (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Remoting local variable via $Using
      • WorkFlow sessions (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
          • New-PSWorkflowSession
          • New-PSWorkflowExecutionOption
        • There's more
          • Invoke-AsWorkflow
          • Common parameters of WorkFlow
          • Workflow features introduced in PowerShell 4.0
      • Script it (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
          • Get-IseSnippet
          • Import-IseSnippet
          • Show-Command
          • Unblock-File
          • Restart-Computer
      • WMI versus CIM (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
      • Job scheduling (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
          • Few changes in Windows PowerShell 4.0
        • There's more
      • Understanding Desired State Configuration (Advanced)
        • Getting ready
        • How to do it...
          • How to define the Configuration block
        • How it works...
      • Executing Desired State Configuration (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
      • Exploring various configuration providers (Advanced)
        • Getting ready
        • How to do it...
        • How it works...
          • Archive resources
          • Group resources
          • Package resources
          • Registry resources
          • Script resources
          • Service resources
          • User resources
        • There's more
          • Requirements for creating a custom DSC resource
  • Title: Instant Windows PowerShell Guide. Enhance your knowledge of Windows PowerShell and get to grips with its latest features
  • Author: Harshul Patel
  • Original title: Instant Windows PowerShell Guide. Enhance your knowledge of Windows PowerShell and get to grips with its latest features
  • ISBN: 9781849686792, 9781849686792
  • Date of issue: 2013-11-25
  • Format: Ebook
  • Item ID: e_2wkt
  • Publisher: Packt Publishing