O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

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 1. Objects and Object Types

Starting a journey in an unknown programming language and an unfamiliar environment requires that we start with the fundamentals. What are the most basic, the absolutely essential parts of any environment? Variables of course! Variables are those tiny virtual boxes that hold our data and let us mold it into whatever we like. PowerShell is unusual in that all variables hold references to objects. All objects conform to a known, published contract; an object contains a set of operations, usually called methods, which allow us to execute actions. Additionally, PowerShell objects expose properties that allow us to get and set object attributes.

PowerShell is based on the Microsoft .NET framework, but a fully featured ...

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