
Instant Windows PowerShell Guide
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
- Understand new CMDLETs and parameters with relevant examples
- Discover new module functionality such as CIM, Workflow, DSC, and so on
- Acquaint yourself with enhancements to PowerShell remoting, PowerShell sessions, and desire state configuration
Book DescriptionWindows 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.What you will learn - Explore extensive help files and update them regularly
- Discover techniques on type less and perform more
- Get to grips with various parameters, keeping real scenarios in mind
- Operate and export the data and focus on object type conversion
- Understand the standard procedure to maintain PowerShell sessions to gain productivity
- Master advanced remoting techniques by using various unleashed parameters
- Build workflows and snippets to build efficient scripts quickly
- Focus on new module introduction like CimCmdlets, PSScheduledJob, and so on
- Pick up tips and tricks as and when required to advance your scripting skills
- Learn to handle the configuration management system by using the latest version of Windows PowerShell
Who this book is forThe book is aimed at IT professionals with knowledge of previous versions of Windows PowerShell. Experience in a Microsoft server environment is preferable. This is a very useful guide for PowerShell learners who quickly need to get up to speed with Windows PowerShell v3.0 and the latest version, Windows PowerShell v4.0.
All prices
More details
Other editions
Additional editions

Person
Harshul Patel is a technology enthusiast from India; he is thoroughly knowledgeable in virtualization and cloud computing technologies. Harshul was one of the early Indian adopters of Windows PowerShell. He frequently lectures on Windows PowerShell in user group gatherings and delivers training across various organizations. He is also the proud recipient of multiple faculty awards and has received an innovation award from his employer. He is a co-founder of the PowerShell Hyderabad User Group and a member of the New Delhi
Content
- Intro
- 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.
- There's 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
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.