Working with Objects

Whenever we use PowerShell, we are bound to be using objects. Knowing the basics of .NET and Object-Oriented Programming plays a vital role in your ability to master PowerShell.

In this chapter, you will learn the very basics of .NET. The last few recipes are geared more toward experienced users who want to unlock the full potential of PowerShell.

In this chapter, we will cover the following recipes:

  • Introduction to Object-Oriented Programming
  • Exploring object properties
  • Exploring object methods
  • Using static class members
  • Creating classes
  • Using custom objects
  • Manipulating and extending objects
  • [ref], [out], and delegates