Instant Windows Powershell 3.0 Windows Management Instrumentation Starter - Brenton J.W. Blawat - E-Book

Instant Windows Powershell 3.0 Windows Management Instrumentation Starter E-Book

Brenton J.W. Blawat

0,0
22,79 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

PowerShell and Windows Management Instrumentation (WMI) provide you with the ability to remotely manage systems. Whether it is viewing available disk space, or starting an executable remotely, PowerShell 3.0 WMI provides limitless options for scripting the management of systems."Instant Windows Powershell 3.0 Windows Management Instrumentation Starter" follows industry standard scripting techniques, utilizing new powerful Cmdlets, to manage different aspects of an operating system and provides practical examples for managing your systems.You will learn how to create, verify, and terminate new Cmdlets that were introduced with PowerShell 3.0 and apply this new knowledge to real world management scenarios. It will provide detailed information about the structure of WMI, and the best ways to get, set, and execute items on a system, both locally and remotely. You will also learn how to create, verify, and terminate new CIM sessions using the available Cmdlets. You will also learn how to search CIM classes for available properties and methods, create a new instance of a class, get an existing instance of an existing class, get an associated instance of a class, and remove an instance of a class. Finally, you will learn how to remotely execute code on a system using WMI.Instant Windows Powershell 3.0 Windows Management Instrumentation Starter will provide you with the ability to fully utilize Windows Management Instrumentation through the use of a variety of new Cmdlets introduced with PowerShell 3.0.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 64

Veröffentlichungsjahr: 2013

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



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 Curtis John for being a mentor, role model, and friend. I attribute my successes in life to these two individuals.

About the Reviewer

Thomas "TJ" McAteer is an engineer specializing in complex Microsoft implementations and special projects. He has worked for several years in the industry, specializing in backup and disaster recovery, as well as network design and active directory/exchange architecture and implementation. He holds current certification in Microsoft, Cisco, and VMware technologies.

When not working, TJ spends time with his new wife Kaitlyn and attempts to feed his addiction to snowboarding. He currently works at Atomic Data on the Microsoft Implementation team. Atomic Data is an IT-services provider, headquartered in Minneapolis, Minnesota. With data centers in diverse locations across the globe and a highly skilled team of engineers, developers, and customer service representatives, Atomic is a one-stop shop. Atomic Data can build a solution for everything from a client's first website, to virtual server infrastructure, cloud computing, and enterprise architecture consulting. Atomic provides clients with engineering know how, lightning-fast response times, and customizable and flexible levels of service. Combined with a 24 x 7 x 365 Network Operations Center and Service Desk, Atomic Data has simple, safe, and smart technology solutions to solve nearly any business problem.

"If I have seen further, it is by standing on the shoulders of giants" – Sir 
Isaac Newton

I would like to take this opportunity to thank Ryan Bloch and Jim Wolford. Without their support and backing I would not be the engineer I am today. 
It is also important to thank Brenton Blawat as without him none of this would be possible.

www.packtpub.com

Support files, eBooks, discount offers and more

You might want to visit www.packtpub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packtpub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.packtpub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

packtLib.packtpub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.packtpub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter

Welcome to the Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter. This book has been created to provide you with the necessary tools to develop in PowerShell 3.0 and create scripts to successfully manage desktop and server environments. Through leveraging Windows Management Instrumentation (WMI), you will be able to create scripts for a structured deployment of software, systems management, and system health checks.

This book contains the following sections:

So, what is PowerShell 3.0 WMI? – learn what Windows Management Instrumentation (WMI) is, how PowerShell 3.0 utilizes it, and why it's applicable to systems engineers.

Installation – learn how to download and install PowerShell 3.0 with ease and verify if the correct version is installed on a system.

Quick start – this section guides you on how to perform basic WMI queries utilizing PowerShell 3.0, including the new PowerShell cmdlets.

Top features you need to know about