Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Windows PowerShell for .NET Developers - Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Windows PowerShell for .NET Developers - Second Edition

Windows PowerShell for .NET Developers - Second Edition - Second Edition

By : Chendrayan Venkatesan, Talaat
close
close
Windows PowerShell for .NET Developers - Second Edition

Windows PowerShell for .NET Developers - Second Edition

By: Chendrayan Venkatesan, Talaat

Overview of this book

Windows PowerShell 5.0 for .NET Developers is your self-start guide to performing automation using Windows PowerShell. This book will help you to understand the PowerShell syntax and grammar and will also teach you techniques to remove the rough edges of manual deployments. Packed with PowerShell scripts and sample C# codes to automate tasks, it also includes real-world scenarios such as administrating office servers to help you save time and perform deployments swiftly and efficiently. The book begins with the Windows PowerShell basics, explores the significant features of Windows Management Framework 5.0, covers the basic concepts of Desired State Configuration and the importance of idempotent deployments. By the end of the book, you will have a good understanding of Windows PowerShell’s features and will be able to automate your tasks and manage configuration effectively.
Table of Contents (7 chapters)
close
close

Basics of WMI and CIM


WMI—Windows Management Instrumentation—is the Microsoft implementation of WBEM—Web Based Enterprise Management—which allows us to access management information from any environment. PowerShell makes access to WMI easy and consistently deliverable using an object-based technique.

Let's explore a few PowerShell cmdlets of WMI.

WMI is a part of the Microsoft.PowerShell.Management module. You can run the following command to explore the WMI cmdlets:

Get-Command -Module Microsoft.PowerShell.Management -Name '*WMI*'

The output is illustrated in the following image:

There are many tools available to explore all the WMI classes available in the WMI repository. You can use the following links to do so:

https://wmie.codeplex.com/

https://www.sapien.com/software/wmiexplorer

Using these tools, we can explore and view the classes, instances, properties, and qualifiers easily. It's a GUI tool, so it makes our job easy as well. As we are focusing more on PowerShell, let's do it the...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Windows PowerShell for .NET Developers - Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon