E-book details

Instant Windows Powershell 3.0 Windows Management Instrumentation Starter. Explore new abilities of Powershell 3.0 to interact with Windows Management Instrumentation (WMI) through the use of the new CIM cmdlets and realistic management scenarios

Instant Windows Powershell 3.0 Windows Management Instrumentation Starter. Explore new abilities of Powershell 3.0 to interact with Windows Management Instrumentation (WMI) through the use of the new CIM cmdlets and realistic management scenarios

Brenton J.W. Blawat

Ebook
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.
  • Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter
    • 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 thats 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
  • Title: Instant Windows Powershell 3.0 Windows Management Instrumentation Starter. Explore new abilities of Powershell 3.0 to interact with Windows Management Instrumentation (WMI) through the use of the new CIM cmdlets and realistic management scenarios
  • Author: Brenton J.W. Blawat
  • Original title: Instant Windows Powershell 3.0 Windows Management Instrumentation Starter. Explore new abilities of Powershell 3.0 to interact with Windows Management Instrumentation (WMI) through the use of the new CIM cmdlets and realistic management scenarios.
  • ISBN: 9781849689632, 9781849689632
  • Date of issue: 2013-03-26
  • Format: Ebook
  • Item ID: e_2wu2
  • Publisher: Packt Publishing