Instant Windows PowerShell Guide
()
About this ebook
Related to Instant Windows PowerShell Guide
Related ebooks
PowerShell Troubleshooting Guide Rating: 0 out of 5 stars0 ratingsGetting Started with PowerShell Rating: 0 out of 5 stars0 ratingsEnterprise PowerShell Scripting Bootcamp Rating: 0 out of 5 stars0 ratingsINSTANT Windows PowerShell Rating: 0 out of 5 stars0 ratingsMicrosoft System Center Configuration Manager High availability and performance tuning Rating: 0 out of 5 stars0 ratingsWindows PowerShell for .NET Developers - Second Edition Rating: 4 out of 5 stars4/5Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to Rating: 0 out of 5 stars0 ratingsCentOS System Administration Essentials Rating: 0 out of 5 stars0 ratingsMastering Linux Shell Scripting Rating: 4 out of 5 stars4/5Linux Networking Cookbook Rating: 0 out of 5 stars0 ratingsMicrosoft System Center Endpoint Protection Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsMastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5PowerShell and WMI Rating: 0 out of 5 stars0 ratingsPowerShell in Practice Rating: 0 out of 5 stars0 ratingsActive Directory with PowerShell Rating: 4 out of 5 stars4/5Learn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsPowerShell A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsWindows PowerShell in Action Rating: 4 out of 5 stars4/5ConfigMgr - An Administrator's Guide to Deploying Applications using PowerShell Rating: 5 out of 5 stars5/5PowerShell in Depth Rating: 0 out of 5 stars0 ratingsMicrosoft System Center PowerShell Essentials Rating: 0 out of 5 stars0 ratingsWindows Server 2019 & PowerShell All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsLearn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsMicrosoft System Center Configuration Manager Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsPowerShell: A Comprehensive Guide to Windows PowerShell Rating: 4 out of 5 stars4/5The Complete Powershell Training for Beginners Rating: 0 out of 5 stars0 ratingsMastering Active Directory Rating: 0 out of 5 stars0 ratingsPowerShell 7 for IT Professionals Rating: 1 out of 5 stars1/5
Enterprise Applications For You
Scrivener For Dummies Rating: 4 out of 5 stars4/5QuickBooks 2023 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsExcel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5ChatGPT Ultimate User Guide - How to Make Money Online Faster and More Precise Using AI Technology Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Bitcoin For Dummies Rating: 4 out of 5 stars4/5Systems Thinking: Managing Chaos and Complexity: A Platform for Designing Business Architecture Rating: 4 out of 5 stars4/5SharePoint 2016 For Dummies Rating: 5 out of 5 stars5/550 Useful Excel Functions: Excel Essentials, #3 Rating: 5 out of 5 stars5/5Excel 2019 For Dummies Rating: 3 out of 5 stars3/5Excel Formulas and Functions 2020: Excel Academy, #1 Rating: 4 out of 5 stars4/5Enterprise AI For Dummies Rating: 3 out of 5 stars3/5Using Word 2019: The Step-by-step Guide to Using Microsoft Word 2019 Rating: 0 out of 5 stars0 ratingsQuickBooks Online For Dummies Rating: 0 out of 5 stars0 ratingsQuickBooks 2021 For Dummies Rating: 0 out of 5 stars0 ratingsNotion for Beginners: Notion for Work, Play, and Productivity Rating: 4 out of 5 stars4/5Managing Humans: Biting and Humorous Tales of a Software Engineering Manager Rating: 4 out of 5 stars4/5Experts' Guide to OneNote Rating: 5 out of 5 stars5/5Agile Project Management: Scrum for Beginners Rating: 4 out of 5 stars4/5Learn Windows PowerShell in a Month of Lunches Rating: 0 out of 5 stars0 ratingsExcel 2016 For Dummies Rating: 4 out of 5 stars4/5Learning Python Rating: 5 out of 5 stars5/5Mastering QuickBooks 2020: The ultimate guide to bookkeeping and QuickBooks Online Rating: 0 out of 5 stars0 ratingsThe New Email Revolution: Save Time, Make Money, and Write Emails People Actually Want to Read! Rating: 5 out of 5 stars5/5Excel Tips and Tricks Rating: 0 out of 5 stars0 ratings
Reviews for Instant Windows PowerShell Guide
0 ratings0 reviews
Book preview
Instant Windows PowerShell Guide - Harshul Patel
Table of Contents
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
Instant Windows PowerShell Guide
Instant Windows PowerShell Guide
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: November 2013
Production Reference: 1211113
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84968-678-5
www.packtpub.com
Credits
Author
Harshul Patel
Reviewers
Aman Dhally
Manoj Mahalingam S
Acquisition Editor
James Jones
Commissioning Editor
Manasi Pandire
Technical Editors
Vivek Pillai
Pankaj Kadam
Copy Editors
Tanvi Gaitonde
Gladson Monteiro
Project Coordinator
Akash Poojary
Proofreader
Linda Morris
Production Coordinator
Arvindkumar Gupta
Cover Work
Arvindkumar Gupta
Cover Image
Sheetal Aute
About the Author
Harshul Patel is a technology enthusiast from India; he is thoroughly knowledgeable in virtualization and cloud computing techniques. He works for a leading service-based organization that has an alliance relationship with vendors such as Citrix and Microsoft. Harshul holds multiple Microsoft certifications, including Microsoft Certified Solutions Associate (Windows Server 2012 and Windows 8) and Microsoft Certified Solutions Expert (Private Cloud). Additionally, he holds non-Microsoft certifications, such as Citrix Certified Administrator (XenApp 6.5, XenDesktop 5.6, and XenServer 6.0) and Citrix Certified Advanced Administrator (XenApp 6.5).
He is one of the early adopters of Windows PowerShell from India. He frequently lectures on Windows PowerShell in user-group gatherings and delivers trainings (mostly on PowerShell) across the organization. He is also a proud recipient of multiple faculty awards and an innovation award from his employer. He is a core member of PowerShell Bangalore User Group (http://powershellgroup.org/bangalore.india) and a member of New Delhi PowerShell User Group (http://powershellgroup.org/NewDelhi). He can be contacted at harshulpatel.com.
I would like to thank all who have encouraged me all the time and made me feel that I have the potential to do whatever I want. I am very thankful to my family members and especially to my uncle, Nikul Patel, for helping all the way to get things done.
I would like to thank Seerat Jangda for her flawless support in proofreading this book and