Instant Windows Powershell 3.0 Windows Management Instrumentation Starter
()
About this ebook
Read more from Brenton J.W. Blawat
Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Enterprise PowerShell Scripting Bootcamp Rating: 0 out of 5 stars0 ratings
Related to Instant Windows Powershell 3.0 Windows Management Instrumentation Starter
Related ebooks
INSTANT Windows PowerShell Rating: 0 out of 5 stars0 ratingsMicrosoft System Center Configuration Manager High availability and performance tuning Rating: 0 out of 5 stars0 ratingsMicrosoft System Center Orchestrator 2012 R2 Essentials Rating: 0 out of 5 stars0 ratingsBizTalk Server 2016: Performance Tuning and Optimization Rating: 0 out of 5 stars0 ratingsInstant OSSEC Host-based Intrusion Detection Rating: 0 out of 5 stars0 ratingsThe Real MCTS/MCITP Exam 70-640 Prep Kit: Independent and Complete Self-Paced Solutions Rating: 1 out of 5 stars1/5Instant VMware vCloud Starter Rating: 0 out of 5 stars0 ratingsPostgreSQL for Data Architects Rating: 0 out of 5 stars0 ratingsPowerShell Troubleshooting Guide Rating: 0 out of 5 stars0 ratingsManaging IaaS and DBaaS Clouds with Oracle Enterprise Manager Cloud Control 12c Rating: 0 out of 5 stars0 ratingsManaging Virtual Infrastructure with Veeam® ONE™ Rating: 0 out of 5 stars0 ratingsINSTANT PLC Programming with RSLogix 5000 Rating: 4 out of 5 stars4/5Citrix XenApp Performance Essentials Rating: 0 out of 5 stars0 ratingsIBM i Security Administration and Compliance Rating: 0 out of 5 stars0 ratingsVMware View Security Essentials Rating: 0 out of 5 stars0 ratingsPython Networking Solutions Guide: Leverage the Power of Python to Automate and Maintain your Network Environment (English Edition) Rating: 0 out of 5 stars0 ratingsMicrosoft Azure Security Rating: 0 out of 5 stars0 ratingsInstant SQL Server Analysis Services 2012 Cube Security Rating: 0 out of 5 stars0 ratingsLearning System Center App Controller Rating: 0 out of 5 stars0 ratingsMicrosoft System Center 2012 Endpoint Protection Cookbook Rating: 0 out of 5 stars0 ratingsMagento 2 Developer's Guide Rating: 0 out of 5 stars0 ratingsMicrosoft Azure IaaS Essentials Rating: 4 out of 5 stars4/5Active Directory with PowerShell Rating: 4 out of 5 stars4/5Microsoft Exchange Server PowerShell Essentials Rating: 0 out of 5 stars0 ratingsImplementing NetScaler VPX™ - Second Edition Rating: 0 out of 5 stars0 ratingsMastering Symfony Rating: 0 out of 5 stars0 ratingsInstant Slic3r Rating: 3 out of 5 stars3/5Instant Citrix Security How-to Rating: 0 out of 5 stars0 ratingsPersistence in PHP with Doctrine ORM Rating: 0 out of 5 stars0 ratings
Computers For You
101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratingsElon Musk Rating: 4 out of 5 stars4/5The Invisible Rainbow: A History of Electricity and Life Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsUltimate Guide to Mastering Command Blocks!: Minecraft Keys to Unlocking Secret Commands Rating: 5 out of 5 stars5/5Master Builder Roblox: The Essential Guide Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsMastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5User Friendly: How the Hidden Rules of Design Are Changing the Way We Live, Work, and Play Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5GarageBand Basics: The Complete Guide to GarageBand: Music Rating: 0 out of 5 stars0 ratingsCompTIA Security+ Practice Questions Rating: 2 out of 5 stars2/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5Learning the Chess Openings Rating: 5 out of 5 stars5/5Storytelling with Data: Let's Practice! Rating: 4 out of 5 stars4/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5AP® Computer Science Principles Crash Course Rating: 0 out of 5 stars0 ratings
Reviews for Instant Windows Powershell 3.0 Windows Management Instrumentation Starter
0 ratings0 reviews
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
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