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

Only $11.99/month after trial. Cancel anytime.

Instant Windows Powershell 3.0 Windows Management Instrumentation Starter
Instant Windows Powershell 3.0 Windows Management Instrumentation Starter
Instant Windows Powershell 3.0 Windows Management Instrumentation Starter
Ebook123 pages43 minutes

Instant Windows Powershell 3.0 Windows Management Instrumentation Starter

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. If you're a keen administrator who wishes to learn more about Windows Management Instrumentation and the use of Cmdlets, then this book is the perfect Starter guide for experienced professionals. This book combines an easy-to-learn approach with practical examples using the powerful Powershell 3.0 in Windows. This book is great for system administrators who would like to learn how to remotely manage systems utilizing PowerShell 3.0. It is assumed that you already have experience with previous versions of PowerShell but the book will provide easy-to-learn, practical examples of how to use the new features included in PowerShell 3.0.
LanguageEnglish
Release dateMar 26, 2013
ISBN9781849689632
Instant Windows Powershell 3.0 Windows Management Instrumentation Starter

Read more from Brenton J.W. Blawat

Related to Instant Windows Powershell 3.0 Windows Management Instrumentation Starter

Related ebooks

Computers For You

View More

Related articles

Reviews for Instant Windows Powershell 3.0 Windows Management Instrumentation Starter

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 3.0 Windows Management Instrumentation Starter - Brenton J.W. Blawat

    Table of Contents

    Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter

    Credits

    About the Author

    About the Reviewer

    www.packtpub.com

    Support files, eBooks, discount offers and more

    packtLib.packtpub.com

    Why Subscribe?

    Free Access for Packt account holders

    Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter

    So, what is PowerShell 3.0 WMI?

    WMI integration with PowerShell 3.0

    Using PowerShell in your environment

    Installation

    Step 1 – prerequisite software - .NET Framework 4.0

    Step 2 – installing the Windows Management Framework 3.0

    Step 3 – preparing to use the new CIM cmdlets

    Quick configuration

    Manual configuration of system

    And that's it! But how do I know it's installed?

    Method 1 – Get-Host cmdlet

    Method 2 – looking at version table

    Method 3 – the Host Version property

    Quick start – PowerShell 3.0 WMI basics

    Using the basic CIM cmdlets

    Creating, verifying, and terminating new sessions

    Top features you'll want to know about

    New CIM instance and class cmdlets

    Get-CimClass cmdlets

    New-CimInstance cmdlets

    Set-CimInstance cmdlet

    Part 1 – pre-staging for Set-CimInstance

    Part 2 – using the Set-CimInstance cmdlet

    Remove-CimInstance cmdlets

    Get-CimAssociatedInstance cmdlet

    Invoke-CimMethod cmdlet

    Scenario 1 – using WMI in software deployment

    Checking the operating system version

    For Windows 8

    Windows Server 2012

    Checking disk space

    Checking the hardware model number

    Checking for running processes

    Checking for running services

    Viewing the installed software

    Checking file version numbers

    Scenario 2 – dynamically provisioning the systems

    Sequencing the scripts after a restart

    Renaming the computer with a random name and a prefix

    Waiting for service states

    Setting the computer description

    Scenario 3 – system maintenance

    Looking up the BIOS information

    Looking at disk fragmentation

    System uptime

    Reading error logs

    Putting it all together

    People and places you should get to know

    Official sites

    Articles and tutorials

    Community

    Blogs

    Twitter

    Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter


    Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter

    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: March 2013

    Production Reference: 1200313

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-84968-962-5

    www.packtpub.com

    Credits

    Author

    Brenton J.W. Blawat

    Reviewer

    TJ McAteer

    Acquisition Editor

    Akram Hussain

    Commissioning Editor

    Harsha Bharwani

    Technical Editor

    Dominic Pereira

    Copy Editor

    Ruta Waghmare

    Project Coordinator

    Esha Thakker

    Proofreader

    Aaron Nash

    Graphics

    Aditi Gajjar

    Production Coordinator

    Melwyn D'sa

    Cover Work

    Melwyn D'sa

    Cover Image

    Manu Joseph

    About the Author

    Brenton J.W. Blawat is an Author, Entrepreneur, Strategic Technical Advisor, and Engineer who has a passion for the procurement of technology in organizations. He is business-centric, while technology minded, and has many years of experience bridging the gap between the technical staff and decision makers in organizations. Brenton prides himself in his ability to effectively communicate to a diverse audience and provide strategic direction for small and large organizations alike. Throughout his career, he has worked for a multitude of Fortune 500 organizations, and specializes in delivery automation and workflow optimizations.

    I dedicate all the contributions made by me in this book to my father, William Michael Blawat, Byśmy zawsze pamiętali. I would like to thank

    Enjoying the preview?
    Page 1 of 1