O'Reilly logo

Windows PowerShell in Action, Third Edition by Bruce Payette Richard Siddaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Classes in PowerShell

This chapter covers

  • The basic ideas underlying classes in PowerShell
  • PowerShell class and enumeration creation
  • Detailed discussion of properties and methods in PowerShell classes
  • Method overloading and inheritance
  • Class initialization and construction
  • DSC resources based on PowerShell classes

Oh brave new world that has such people in it!

Miranda in William Shakespeare’s The Tempest

PowerShell has always been a .NET language in that it worked with and consumed the types in the .NET framework, but it was always a kind of second-class citizen compared to other .NET languages because you couldn’t create new types directly in PowerShell. This has been fixed in PowerShell v5, which now supports the ability ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required