Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Instant Windows PowerShell Guide
Instant Windows PowerShell Guide
Instant Windows PowerShell Guide
Ebook234 pages1 hour

Instant Windows PowerShell Guide

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Enhance your knowledge of Windows PowerShell and get to grips with its latest features
LanguageEnglish
Release dateNov 25, 2013
ISBN9781849686792
Instant Windows PowerShell Guide

Related to Instant Windows PowerShell Guide

Related ebooks

Enterprise Applications For You

View More

Related articles

Reviews for Instant Windows PowerShell Guide

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    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

    Enjoying the preview?
    Page 1 of 1